Skip to content

Commit 2e637c0

Browse files
authored
Fix TabSwitcher icon shifting by 1px when animating in WebKit (#1822)
1 parent ad3114c commit 2e637c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

special-pages/pages/new-tab/app/omnibar/components/TabSwitcher.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
gap: 6px;
1818
height: var(--sp-8);
1919
justify-content: center;
20-
padding: 0 var(--sp-4);
2120
padding: 0;
2221
width: 92px;
2322
z-index: 1;
@@ -38,6 +37,7 @@
3837
position: absolute;
3938
top: 0;
4039
transition: translate 200ms ease;
40+
will-change: translate;
4141

4242
@media (prefers-reduced-motion: reduce) {
4343
transition: none;

0 commit comments

Comments
 (0)