Skip to content

Commit 6d035c7

Browse files
authored
NTP - Fix text cut-off on windows (#2029)
* Set line-height to normal -- this fixes cut-off issue on windows, but does not change anything on mac os * Target windows only * use data-platform for naming consistency
1 parent 7342634 commit 6d035c7

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
color: var(--ntp-text-tertiary);
2222
}
2323

24-
[data-platform="windows"] &::selection {
24+
[data-platform='windows'] &::selection {
2525
background: var(--ntp-selection-background-color);
2626
color: var(--ntp-selection-color);
2727
}
@@ -78,7 +78,13 @@
7878
visibility: visible;
7979
}
8080

81-
[data-entry-point="omnibar"]:has([role="listbox"]) & {
81+
[data-entry-point='omnibar']:has([role='listbox']) & {
8282
visibility: visible;
8383
}
8484
}
85+
86+
[data-platform='windows'] {
87+
.input {
88+
line-height: normal;
89+
}
90+
}

0 commit comments

Comments
 (0)