global.less 660 Bytes
Newer Older
Yu's avatar
Yu committed
1 2
@import '~antd/lib/style/themes/default.less';

3 4 5 6 7
html,
body,
#root {
  height: 100%;
}
ζ„šι“'s avatar
ζ„šι“ committed
8

9 10 11
.colorWeak {
  filter: invert(80%);
}
ζ„šι“'s avatar
ζ„šι“ committed
12

13 14 15
.ant-layout {
  min-height: 100vh;
}
ζ„šι“'s avatar
ζ„šι“ committed
16

17 18 19
canvas {
  display: block;
}
ζ„šι“'s avatar
ζ„šι“ committed
20

21 22 23 24 25
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ζ„šι“'s avatar
ζ„šι“ committed
26

27 28 29 30
.globalSpin {
  width: 100%;
  margin: 40px 0 !important;
}
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
31

32 33 34 35
ul,
ol {
  list-style: none;
}
Yu's avatar
Yu committed
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}