diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-07 13:16:19 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-07 13:17:38 +0100 |
commit | e2910e17b09acc0a1c29ba687ffd78f13c1dbdc0 (patch) | |
tree | fbf8eda3d9a100ad3c117585198b9ff6f9514e1c /core | |
parent | e77bddf56b80c0f9ebcb1c3322c8086af7231330 (diff) | |
download | nextcloud-server-e2910e17b09acc0a1c29ba687ffd78f13c1dbdc0.tar.gz nextcloud-server-e2910e17b09acc0a1c29ba687ffd78f13c1dbdc0.zip |
Default left margin for entries without icons
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/apps.scss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss index 9f8a33956e0..670924ee0fb 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -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; |