mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #424 from sharelatex/pr-fix-invisible-scrollbar-safari
Give the scrollbar a background-color, so that Safari knows that it s…
This commit is contained in:
commit
8e3c9b7079
1 changed files with 13 additions and 0 deletions
|
@ -181,6 +181,19 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Hack to solve an issue where scrollbars aren't visible in Safari.
|
||||||
|
// Safari seems to clip part of the scrollbar element. By giving the
|
||||||
|
// element a background, we're telling Safari that it *really* needs to
|
||||||
|
// paint the whole area. See https://github.com/ajaxorg/ace/issues/2872
|
||||||
|
.ace_scrollbar-inner {
|
||||||
|
background-color: #FFF;
|
||||||
|
opacity: 0.01;
|
||||||
|
|
||||||
|
.ace_dark & {
|
||||||
|
background-color: #000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.ui-layout-resizer {
|
.ui-layout-resizer {
|
||||||
width: 6px;
|
width: 6px;
|
||||||
background-color: #f4f4f4;
|
background-color: #f4f4f4;
|
||||||
|
|
Loading…
Reference in a new issue