Commit 9e19c93b authored by Nikolay Gromov's avatar Nikolay Gromov

Небольшая правка для dropdowm

parent 6ea7c44c
...@@ -15,19 +15,20 @@ $transition-time: 0.3s !default; ...@@ -15,19 +15,20 @@ $transition-time: 0.3s !default;
display: inline-block; display: inline-block;
&__menu { &__menu {
max-width: 90vw;
width: 1px;
position: absolute; position: absolute;
z-index: -1;
top: 100%; top: 100%;
left: 0; left: 0;
z-index: -1; max-width: 90vw;
width: 1px;
margin: 0;
background-color: #fff; background-color: #fff;
color: $text-color; color: $text-color;
margin: 0;
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: $border-radius; border-radius: $border-radius;
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
overflow: hidden;
transition: opacity $transition-time; transition: opacity $transition-time;
&--up { &--up {
...@@ -39,10 +40,6 @@ $transition-time: 0.3s !default; ...@@ -39,10 +40,6 @@ $transition-time: 0.3s !default;
left: auto; left: auto;
right: 0; right: 0;
} }
@at-root div#{&} {
min-width: 26rem;
}
} }
&__menu-inner { &__menu-inner {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment