relative units in line-height + some cleanup

This commit is contained in:
Henry Jameson 2022-04-20 23:55:34 +03:00
parent 7f513fe46f
commit 33d92f9b16
8 changed files with 15 additions and 13 deletions

View File

@ -457,7 +457,7 @@ textarea,
display: inline-block; display: inline-block;
position: relative; position: relative;
height: 2em; height: 2em;
line-height: 16px; line-height: 1.2;
hyphens: none; hyphens: none;
padding: 8px 0.5em; padding: 8px 0.5em;
@ -508,7 +508,7 @@ textarea,
background-color: var(--input, $fallback--fg); background-color: var(--input, $fallback--fg);
vertical-align: top; vertical-align: top;
text-align: center; text-align: center;
line-height: 1.1em; line-height: 1.1;
font-size: 1.1em; font-size: 1.1em;
box-sizing: border-box; box-sizing: border-box;
color: transparent; color: transparent;
@ -548,7 +548,7 @@ textarea,
background-color: var(--input, $fallback--fg); background-color: var(--input, $fallback--fg);
vertical-align: top; vertical-align: top;
text-align: center; text-align: center;
line-height: 1.1em; line-height: 1.1;
font-size: 1.1em; font-size: 1.1em;
box-sizing: border-box; box-sizing: border-box;
color: transparent; color: transparent;

View File

@ -155,7 +155,8 @@
margin: 0 0 0.3em; margin: 0 0 0.3em;
padding: 0; padding: 0;
font-size: 1em; font-size: 1em;
line-height:20px; line-height: 1.5;
small { small {
font-weight: lighter; font-weight: lighter;
} }

View File

@ -91,6 +91,7 @@
flex-direction: column; flex-direction: column;
margin-top: 0.6em; margin-top: 0.6em;
max-width: 18rem; max-width: 18rem;
> * { > * {
min-width: 0; min-width: 0;
} }
@ -100,8 +101,8 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-bottom: 1em; margin-bottom: 1em;
padding: 0.3em 0.0em 0.3em; padding: 0.3em 0;
line-height: 24px; line-height: 1.85em;
} }
.error { .error {
@ -113,7 +114,7 @@
.alert { .alert {
padding: 0.5em; padding: 0.5em;
margin: 0.3em 0.0em 1em; margin: 0.3em 0 1em;
} }
.password-reset-required { .password-reset-required {

View File

@ -101,7 +101,7 @@
cursor: pointer; cursor: pointer;
flex-basis: 20%; flex-basis: 20%;
line-height: 1.5em; line-height: 1.5;
align-content: center; align-content: center;
&:hover { &:hover {

View File

@ -106,7 +106,7 @@
.heading-name-row { .heading-name-row {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
line-height: 18px; line-height: 1.3;
a { a {
display: inline-block; display: inline-block;
@ -227,7 +227,7 @@
.replies { .replies {
margin-top: 0.25em; margin-top: 0.25em;
line-height: 18px; line-height: 1.3;
font-size: 0.85em; font-size: 0.85em;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;

View File

@ -55,7 +55,7 @@
&-bio { &-bio {
text-align: center; text-align: center;
display: block; display: block;
line-height: 18px; line-height: 1.3;
padding: 1em; padding: 1em;
margin: 0; margin: 0;

View File

@ -176,7 +176,7 @@
} }
.user-profile-field-name, .user-profile-field-value { .user-profile-field-name, .user-profile-field-value {
line-height: 18px; line-height: 1.3;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;

View File

@ -195,7 +195,7 @@
} }
.panel-body > p { .panel-body > p {
line-height: 18px; line-height: 1.3;
padding: 1em; padding: 1em;
margin: 0; margin: 0;
} }