fix: "Border disappears on zoom out" issue (#7365)
* fix: "Border disappears on zoom out" issue * fix: Use before pseudo element to avoid element block
This commit is contained in:
parent
627064f823
commit
e290d8fa23
1 changed files with 11 additions and 0 deletions
|
|
@ -109,6 +109,17 @@
|
|||
.layout-main-section {
|
||||
border: 1px solid @border-color;
|
||||
border-top: 0px;
|
||||
// hack
|
||||
// https://stackoverflow.com/a/49038292/5955589
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 15px;
|
||||
bottom: 0;
|
||||
left: 15px;
|
||||
border: 1px solid @border-color;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-main-section-wrapper {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue