Skip to content

Commit 0a4cc7c

Browse files
committed
Fix input text getting vertically cut off
1 parent 7e7e619 commit 0a4cc7c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

frontend/assets/styles/global.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,17 @@ fieldset {
6363
}
6464

6565
input {
66-
line-height: 1.2;
6766
font-size: 1em;
6867
font-family: var(--font-family);
6968
color: var(--input-text-color);
69+
// Use line height instead of vertical padding so certain glyphs aren't cut
70+
// off.
71+
line-height: 2.4;
7072

7173
vertical-align: middle;
7274

7375
border-radius: 0.25rem;
74-
padding: 0.6rem;
76+
padding: 0 0.6rem;
7577
background-color: var(--input-background-color);
7678

7779
$box-shadow:

0 commit comments

Comments
 (0)