Browse Source

global.less don't need to wrap with :global

pull/2016/merge
sorrycc 8 years ago
committed by 陈帅
parent
commit
c20ddf8d51
  1. 54
      src/global.less

54
src/global.less

@ -1,35 +1,33 @@
:global {
html,
body,
#root {
height: 100%;
}
html,
body,
#root {
height: 100%;
}
.colorWeak {
filter: invert(80%);
}
.colorWeak {
filter: invert(80%);
}
.ant-layout {
min-height: 100vh;
}
.ant-layout {
min-height: 100vh;
}
canvas {
display: block;
}
canvas {
display: block;
}
body {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.globalSpin {
width: 100%;
margin: 40px 0 !important;
}
.globalSpin {
width: 100%;
margin: 40px 0 !important;
}
// temp fix for https://github.com/ant-design/ant-design/commit/a1fafb5b727b62cb0be29ce6e9eca8f579d4f8b7
.ant-spin-container {
overflow: visible !important;
}
// temp fix for https://github.com/ant-design/ant-design/commit/a1fafb5b727b62cb0be29ce6e9eca8f579d4f8b7
.ant-spin-container {
overflow: visible !important;
}

Loading…
Cancel
Save