diff options
author | Nolan Lawson <nolan@nolanlawson.com> | 2017-10-01 18:01:01 -0700 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-10-02 03:01:01 +0200 |
commit | c567c874537b733a3e15625ad01eb0ae0ced8f4e (patch) | |
tree | 8a19679f120a44b1db13ad36c4d928922605afad /app/javascript/styles | |
parent | 47ecd652d3f8256a191401f005d42760e858e6de (diff) |
Toggle contain:strict on fullscreen (#5159)
* Toggle contain:strict on fullscreen * Fix scss lint issue * fix scss whitespace lint issue
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/components.scss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index caa7c0787..48d6e0c4d 100644 --- a/app/javascript/styles/components.scss +++ b/app/javascript/styles/components.scss @@ -1674,6 +1674,16 @@ &.optionally-scrollable { overflow-y: auto; } + + @supports(display: grid) { // hack to fix Chrome <57 + contain: strict; + } +} + +.scrollable.fullscreen { + @supports(display: grid) { // hack to fix Chrome <57 + contain: none; + } } .column-back-button { |