Skip to content

Commit

Permalink
Fix issue with Chrome 105 and flexbox. Fixes GoogleChromeLabs#1281
Browse files Browse the repository at this point in the history
  • Loading branch information
jakearchibald committed Sep 1, 2022
1 parent 7a2fc91 commit a1c3304
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
Expand All @@ -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);
}
Expand Down

0 comments on commit a1c3304

Please sign in to comment.