Fix issue with Chrome 105 and flexbox. Fixes #1281

https://bugs.chromium.org/p/chromium/issues/detail?id=1358807
This commit is contained in:
jakearchibald
2022-09-01 08:50:43 +01:00
parent 7a2fc917c1
commit a1c3304c56

View File

@@ -40,7 +40,8 @@ two-up[legacy-clip-compat] > :not(.two-up-handle) {
} }
.scrubber { .scrubber {
display: flex; display: grid;
align-content: center;
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
@@ -54,10 +55,6 @@ two-up[legacy-clip-compat] > :not(.two-up-handle) {
padding: 0 calc(var(--thumb-size) * 0.24); padding: 0 calc(var(--thumb-size) * 0.24);
} }
.scrubber svg {
flex: 1;
}
.arrow-left { .arrow-left {
fill: var(--pink); fill: var(--pink);
} }