summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/settings.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/pages/settings.scss')
-rw-r--r--app/assets/stylesheets/pages/settings.scss10
1 files changed, 7 insertions, 3 deletions
diff --git a/app/assets/stylesheets/pages/settings.scss b/app/assets/stylesheets/pages/settings.scss
index 79de1d78a6e..416537ef763 100644
--- a/app/assets/stylesheets/pages/settings.scss
+++ b/app/assets/stylesheets/pages/settings.scss
@@ -24,12 +24,16 @@
.settings {
// border-top for each item except the top one
- + .settings {
- border-top: 1px solid $border-color;
- }
+ border-top: 1px solid $border-color;
&:first-of-type {
margin-top: 10px;
+ border: 0;
+ }
+
+ + div .settings:first-of-type {
+ margin-top: 0;
+ border-top: 1px solid $border-color;
}
&.animating {