Fixed white panes in settings dialog on Safari 8

Absolute positioning caused panes to sometimes not render when being
selected. Switching to static positioning again makes the dialog look a bit
weird, but that's probably still preferable to no content showing. It seems
to be a browser bug that not's present with Safari 7, more tests to pinpoint
what exactly is causing this are probably necessary, but this at least is a
functional workaround for now.
(cherry picked from commit a18cbf7)
This commit is contained in:
Gina Häußge 2015-07-09 21:49:51 +02:00
parent 5470aaaa3a
commit 2745f49d28
2 changed files with 15 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -975,6 +975,20 @@ textarea.block {
}
}
// Special delivery for Safari browsers... because Safari >= 8 sometimes just
// shows us white panes on the settings dialog when the full-sized-box has
// an absolute position (which it needs for both scrollbars to work), at least
// until the page is resized or otherwise a rerender is triggered, we'll have
// our styling resolve to static positioning on that browser for now.
//
// This btw also means that the dialog will change in size. Yay.
//
// Better use something else if you have the option, that thing is really
// weird.
_::-webkit-full-page-media, _:future, :root .full-sized-box {
position: static;
}
.scrollable {
height: 100%;
overflow: auto;