set body border width according with -webkit-device-pixel-ratio

This commit is contained in:
xenkuo 2020-06-27 11:02:29 +08:00
parent 83292ffaac
commit 29a7df06fd
1 changed files with 7 additions and 1 deletions

View File

@ -6,12 +6,18 @@
--bar-height: 53px;
--trans-btn-height: 20px;
--modem-btn-height: 10px;
--body-border-widht: 1pt;
--body-border-widht: 0px;
--bar-color-head: #fafafa;
--bar-color-middle: #fafafa;
--bar-color-tail: #fafafa;
}
@media (-webkit-device-pixel-ratio: 1) {
:root {
--body-border-widht: 1px;
}
}
html {
height: 100%;
font-size: 12px;