Files
fe_service_ebtp_frontend/src/global.less

59 lines
861 B
Plaintext
Raw Normal View History

2020-12-23 11:14:35 +08:00
@import '~antd/es/style/themes/default.less';
2022-03-10 14:24:13 +08:00
@import './baseStyle.less';
2020-12-23 11:14:35 +08:00
html,
body,
#root {
height: 100%;
}
.colorWeak {
filter: invert(80%);
}
.ant-layout {
min-height: 100vh;
2022-03-10 14:24:13 +08:00
// // 去除滚动条样式
// height: 100vh;
// overflow-y: hidden;
2020-12-23 11:14:35 +08:00
}
canvas {
display: block;
}
body {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
ul,
ol {
2022-03-10 14:24:13 +08:00
// list-style: none;
2020-12-23 11:14:35 +08:00
}
@media (max-width: @screen-xs) {
.ant-table {
width: 100%;
overflow-x: auto;
&-thead > tr,
&-tbody > tr {
> th,
> td {
white-space: pre;
> span {
display: block;
}
}
}
}
}
// 兼容IE11
@media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
body .ant-design-pro > .ant-layout {
min-height: 100vh;
}
}