Skip to content

Commit 71773fd

Browse files
authored
Grow container when focused to accomodate focus ring (#1839)
1 parent 2676db2 commit 71773fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
&:focus-within {
2020
border-radius: 14px;
2121
box-shadow: 0 0 0 2px var(--ntp-color-primary), 0 0 0 4px rgba(57, 105, 239, 0.2);
22+
margin: 0 calc(-1 * var(--sp-1) - 3px);
23+
padding: 0 3px;
2224
}
2325

2426
&:has([role="listbox"]) {

0 commit comments

Comments
 (0)