set body border width according with -webkit-device-pixel-ratio
This commit is contained in:
parent
83292ffaac
commit
29a7df06fd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue