Merge pull request #2995 from thelounge/xpaw/line-height

Fix line-height to match height in input
This commit is contained in:
Pavel Djundik 2019-01-28 10:01:32 +02:00 committed by GitHub
commit 99e69c55aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);