From c567c874537b733a3e15625ad01eb0ae0ced8f4e Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 1 Oct 2017 18:01:01 -0700 Subject: Toggle contain:strict on fullscreen (#5159) * Toggle contain:strict on fullscreen * Fix scss lint issue * fix scss whitespace lint issue --- app/javascript/styles/components.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'app/javascript/styles') 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 { -- cgit