From a1c3304c5698c926c943ef94a0e3ba849fd42dc7 Mon Sep 17 00:00:00 2001 From: jakearchibald Date: Thu, 1 Sep 2022 08:50:43 +0100 Subject: [PATCH] Fix issue with Chrome 105 and flexbox. Fixes #1281 https://bugs.chromium.org/p/chromium/issues/detail?id=1358807 --- .../lazy-app/Compress/Output/custom-els/TwoUp/styles.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/client/lazy-app/Compress/Output/custom-els/TwoUp/styles.css b/src/client/lazy-app/Compress/Output/custom-els/TwoUp/styles.css index ac853377c..20ac6690e 100644 --- a/src/client/lazy-app/Compress/Output/custom-els/TwoUp/styles.css +++ b/src/client/lazy-app/Compress/Output/custom-els/TwoUp/styles.css @@ -40,7 +40,8 @@ two-up[legacy-clip-compat] > :not(.two-up-handle) { } .scrubber { - display: flex; + display: grid; + align-content: center; position: absolute; top: 50%; left: 50%; @@ -54,10 +55,6 @@ two-up[legacy-clip-compat] > :not(.two-up-handle) { padding: 0 calc(var(--thumb-size) * 0.24); } -.scrubber svg { - flex: 1; -} - .arrow-left { fill: var(--pink); }