diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-14 09:05:54 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-31 20:45:42 +0300 |
commit | da4c0be012953928ac4a55f7a243a3765cc67601 (patch) | |
tree | 9bfabefb383ae781fd2e9f3992374c3d040b219b /app/assets/stylesheets/pages/settings.scss | |
parent | 979e3a592bd4bf9a957d3c1005a3a9a3ce2945f3 (diff) |
remove needlessly complicated, duplicate css class for expanded settings panels
Diffstat (limited to 'app/assets/stylesheets/pages/settings.scss')
-rw-r--r-- | app/assets/stylesheets/pages/settings.scss | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/app/assets/stylesheets/pages/settings.scss b/app/assets/stylesheets/pages/settings.scss index 41a6ba2023a..91ad7f2151b 100644 --- a/app/assets/stylesheets/pages/settings.scss +++ b/app/assets/stylesheets/pages/settings.scss @@ -23,15 +23,14 @@ } .settings { - overflow: hidden; border-bottom: 1px solid $gray-darker; &:first-of-type { margin-top: 10px; } - &.expanded { - overflow: visible; + &.animating { + overflow: hidden; } } @@ -57,13 +56,13 @@ padding-right: 110px; animation: collapseMaxHeight 300ms ease-out; - &.expanded { + .settings.expanded & { max-height: none; overflow-y: visible; animation: expandMaxHeight 300ms ease-in; } - &.no-animate { + .settings.no-animate & { animation: none; } |