feat: remove animations from context menu

This commit is contained in:
Antonella Sgarlatta
2021-05-24 10:51:24 -03:00
parent 0a433ff5d4
commit 633add73c9
3 changed files with 9 additions and 6 deletions

View File

@@ -208,21 +208,24 @@
.sn-dropdown {
@extend .bg-default;
@extend .min-w-80;
@extend .transition-transform;
@extend .duration-150;
@extend .slide-down-animation;
@extend .rounded;
@extend .box-shadow;
z-index: $z-index-dropdown-menu;
&.sn-dropdown-anchor-right {
&.sn-dropdown--anchor-right {
right: 0;
}
&[data-state='collapsed'] {
display: none;
}
&.sn-dropdown--animated {
@extend .transition-transform;
@extend .duration-150;
@extend .slide-down-animation;
}
}
/** Lesser specificity will give priority to reach's styles */