global.scss
1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
@import '@feewee/h5app-common/dist/es/styles/custom_theme.css';
@tailwind base;
@tailwind components;
@tailwind utilities;
// add the code bellow
@layer utilities {
/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hide {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
/* show scrollbar for Chrome, Safari and Opera */
.scrollbar-default::-webkit-scrollbar {
display: block;
}
/* show scrollbar for IE, Edge and Firefox */
.scrollbar-default {
-ms-overflow-style: auto; /* IE and Edge */
scrollbar-width: auto; /* Firefox */
}
.typo-v {
writing-mode: vertical-lr;
-webkit-writing-mode: lr;
-webkit-text-orientation: upright;
text-orientation: upright;
}
}
html {
height: 100%;
width: 100%;
overflow: hidden;
}
body {
height: 100%;
width: 100%;
a,
button,
textarea {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
#root {
height: 100%;
}
}