Skip to content

Commit 207553b

Browse files
committed
search.css: give the phone language label a normal line-height
The bar sets line-height: 1 (16px) on the label; with overflow:hidden (from the collapse) that clipped descenders (the g in English).
1 parent ccbfe62 commit 207553b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

assets/search.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,10 @@ html { background: #fff; }
217217
.lcnc-lang-label {
218218
overflow: hidden;
219219
max-width: 12rem;
220+
/* the bar gives the label line-height: 1 (16px); with overflow now
221+
hidden that clips descenders (the g in English). Give the text
222+
room inside the clipped box. */
223+
line-height: normal;
220224
transition: max-width .18s ease, padding .18s ease;
221225
}
222226
.lcnc-lang-switcher {

0 commit comments

Comments
 (0)