diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-12-15 13:46:16 -0700 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-12-18 11:48:00 -0700 |
commit | 36b3dbf29ab5af30658c7e50028d4040498c82bd (patch) | |
tree | 96e19a28af62c5646d3ccf22899ca87be05b6c47 | |
parent | 52fe6522bdf673fc8de27ea241441a7130f14a97 (diff) | |
download | gitlab-ce-36b3dbf29ab5af30658c7e50028d4040498c82bd.tar.gz |
Remove all dropdown animations and set display: none if they're not open
-rw-r--r-- | app/assets/stylesheets/framework/dropdowns.scss | 12 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/issuable.scss | 4 |
2 files changed, 2 insertions, 14 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index 66dddfb35c1..22303e6ec14 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -16,20 +16,12 @@ @mixin set-visible { transform: translateY(0); - visibility: visible; - opacity: 1; - transition-duration: 100ms, 150ms, 25ms; - transition-delay: 35ms, 50ms, 25ms; + display: block; } @mixin set-invisible { transform: translateY(-10px); - visibility: hidden; - opacity: 0; - transition-property: opacity, transform, visibility; - transition-duration: 70ms, 250ms, 250ms; - transition-timing-function: linear, $dropdown-animation-timing; - transition-delay: 25ms, 50ms, 0ms; + display: none; } .open { diff --git a/app/assets/stylesheets/pages/issuable.scss b/app/assets/stylesheets/pages/issuable.scss index 48a787aa737..4bc7aeb127d 100644 --- a/app/assets/stylesheets/pages/issuable.scss +++ b/app/assets/stylesheets/pages/issuable.scss @@ -499,10 +499,6 @@ .with-performance-bar .right-sidebar { top: $header-height + $performance-bar-height; - - .issuable-sidebar { - height: calc(100% - #{$header-height} - #{$performance-bar-height}); - } } .sidebar-move-issue-confirmation-button { |