Blame view

src/style/global.scss 1.55 KB
5d134410   张志伟   🐱 feat(*): init
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
  @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%;
  
      .ant-table-wrapper {
        *::-webkit-scrollbar {
          display: none;
        }
        * {
          -ms-overflow-style: none; /* IE and Edge */
          scrollbar-width: none; /* Firefox */
        }
      }
  
      .ant-table-placeholder {
        height: 85vh;
        height: 85svh;
      }
  
      .ant-table-sticky-scroll {
        display: none !important;
      }
  
      .ant-table-sticky-scroll-bar {
        display: none;
      }
      .ant-statistic-title {
        margin-bottom: 0px !important;
      }
  
      .ant-table-tbody-virtual-scrollbar-thumb {
        display: none;
      }
    }
  }