Default left margin for entries without icons

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-03-07 13:16:19 +01:00
parent e77bddf56b
commit e2910e17b0
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 10 additions and 0 deletions

View File

@ -841,6 +841,16 @@ kbd {
assure correct position of a possible text */
padding: 18px 0 18px 36px;
}
// If no icons set, force left margin to align
&:not([class^='icon-']):not([class*='icon-']) {
> span,
> input,
> form {
&:not([class^='icon-']):not([class*='icon-']):first-of-type {
margin-left: 36px;
}
}
}
&[class^='icon-'],
&[class*=' icon-'] {
padding: 0 10px 0 36px !important;