Fix line-height to match height in input

This commit is contained in:
Pavel Djundik 2019-01-26 10:34:12 +02:00
parent f49bf19023
commit d260ee05da

View File

@ -1983,7 +1983,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
min-height: 19px; /* Required when computing input height at char deletion */ min-height: 19px; /* Required when computing input height at char deletion */
height: 19px; height: 19px;
max-height: 95px; /* min-height/height x number of lines maximum */ max-height: 95px; /* min-height/height x number of lines maximum */
line-height: 1.4; line-height: 19px /* should match height */;
outline: none; outline: none;
margin: 5px; margin: 5px;
padding: 0; padding: 0;
@ -2361,11 +2361,6 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
font-size: 15px; font-size: 15px;
} }
#form #input {
/* change line-height due to increased font-size above */
line-height: 1.3;
}
#sidebar { #sidebar {
display: flex; display: flex;
background: var(--body-bg-color); background: var(--body-bg-color);