summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-03-07 12:42:26 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-03-07 13:17:38 +0100
commite77bddf56b80c0f9ebcb1c3322c8086af7231330 (patch)
tree9ad689355ac84e52430bd172b2903f378b3a3649 /core/css
parent966ceca8eaf9d06d9f0528c83168a2942ca7e279 (diff)
downloadnextcloud-server-e77bddf56b80c0f9ebcb1c3322c8086af7231330.tar.gz
nextcloud-server-e77bddf56b80c0f9ebcb1c3322c8086af7231330.zip
Css hack to add margin on first or last visible inputs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/apps.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index 1389938a325..9f8a33956e0 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -903,6 +903,15 @@ kbd {
}
}
}
+ /* css hack, only first not hidden*/
+ &:not(.hidden):not([style*='display: none']) {
+ &:first-of-type input {
+ margin-top: 10px;
+ }
+ &:last-of-type input {
+ margin-bottom: 10px;
+ }
+ }
> button {
padding: 0;
span {