Small CSS improvements

- Helper (<small>) for <select> and <textarea>
- Better roll for a.contrast
This commit is contained in:
Lucas 2020-08-08 10:05:47 +07:00
parent 195e0c6b6b
commit 6cc98ad873
12 changed files with 43 additions and 15 deletions

View file

@ -225,9 +225,13 @@ form small {
color: var(--muted-text);
}
input + small {
margin-top: -$spacing-typography/1.5;
margin-bottom: $spacing-typography;
input,
select,
textarea {
+ small {
margin-top: -$spacing-typography/1.5;
margin-bottom: $spacing-typography;
}
}
// Styles for Input inside a label