Skip to content
Snippets Groups Projects
Commit bc39ad37 authored by Nolan Lawson's avatar Nolan Lawson Committed by Eugen Rochko
Browse files

Fix "contains" CSS for Chromium <57 (#3317)

Fixes #3277. I've tested in QupZilla on Mac and can confirm it fixes the issue, and that Chrome 58 is not affected (because it has Grid).
parent a6ba004b
No related branches found
No related tags found
No related merge requests found
...@@ -1326,7 +1326,9 @@ ...@@ -1326,7 +1326,9 @@
.drawer { .drawer {
flex: 1 1 100%; flex: 1 1 100%;
overflow: hidden; overflow: hidden;
contain: strict; @supports(display: grid) { // hack to fix Chrome <57
contain: strict;
}
} }
@media screen and (min-width: 360px) { @media screen and (min-width: 360px) {
...@@ -1501,7 +1503,9 @@ ...@@ -1501,7 +1503,9 @@
flex: 1 1 auto; flex: 1 1 auto;
backface-visibility: hidden; backface-visibility: hidden;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
contain: strict; @supports(display: grid) { // hack to fix Chrome <57
contain: strict;
}
&.optionally-scrollable { &.optionally-scrollable {
overflow-y: auto; overflow-y: auto;
...@@ -2250,7 +2254,9 @@ button.icon-button.active i.fa-retweet { ...@@ -2250,7 +2254,9 @@ button.icon-button.active i.fa-retweet {
flex: 1 1 auto; flex: 1 1 auto;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
contain: strict; @supports(display: grid) { // hack to fix Chrome <57
contain: strict;
}
a { a {
color: $ui-highlight-color; color: $ui-highlight-color;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment