We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01995f6 commit 4a7d0d6Copy full SHA for 4a7d0d6
nebula-components/components/_btn-dropdown.scss
@@ -105,14 +105,20 @@
105
width: 100%;
106
height: 0;
107
overflow: hidden;
108
+ transform: scale(1, 0);
109
+ transform-origin: 50% 0;
110
opacity: 0;
111
}
112
113
.#{$nb-namespace}c-btn-dropdown.is-open > .#{$nb-namespace}c-btn-dropdown__content {
114
height: auto;
115
overflow: visible;
116
+ transform: scale(1);
117
opacity: 1;
- transition: opacity $nb-transition-duration;
118
+ }
119
+
120
+ .#{$nb-namespace}c-btn-dropdown.is-open > .#{$nb-namespace}c-btn-dropdown__content--transition {
121
+ transition: transform $nb-transition-duration, opacity $nb-transition-duration;
122
123
124
.#{$nb-namespace}c-btn-dropdown.is-open > .c-btn {
0 commit comments