Browse Source

按照comment修改代码

master
windy 4 years ago
parent
commit
5704a0d073
  1. 13
      src/less/base/view/popupview.less

13
src/less/base/view/popupview.less

@ -3,6 +3,10 @@
/**********BI.BIListView*************/ /**********BI.BIListView*************/
.bi-popup-view { .bi-popup-view {
position: fixed !important; position: fixed !important;
// -ms-device-fixed >= IE11
// 与fixed表现形式一致,区别在于浏览器缩放的时候,-ms-device-fixed的元素不受其影响,而fixed的元素受其影响
// 最重要的是-ms-device-fixed解决了IE11下的残影问题
position: -ms-device-fixed !important;
overflow-y: visible !important; overflow-y: visible !important;
overflow-x: visible !important; overflow-x: visible !important;
overflow: visible !important; overflow: visible !important;
@ -43,12 +47,3 @@
.box-shadow(0 1px 5px 0, fade(@background-color-normal-theme-dark, 80)); .box-shadow(0 1px 5px 0, fade(@background-color-normal-theme-dark, 80));
} }
} }
.hack {
.bi-popup-view {
// -ms-device-fixed >= IE11
// 与fixed表现形式一致,区别在于浏览器缩放的时候,-ms-device-fixed的元素不受其影响,而fixed的元素受其影响
// 最重要的是-ms-device-fixed解决了IE11下的残影问题
position: -ms-device-fixed !important;
}
}
Loading…
Cancel
Save