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

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

parent 6ea7c44c
......@@ -15,19 +15,20 @@ $transition-time: 0.3s !default;
display: inline-block;
&__menu {
max-width: 90vw;
width: 1px;
position: absolute;
z-index: -1;
top: 100%;
left: 0;
z-index: -1;
max-width: 90vw;
width: 1px;
margin: 0;
background-color: #fff;
color: $text-color;
margin: 0;
border: 1px solid $border-color;
border-radius: $border-radius;
opacity: 0;
visibility: hidden;
overflow: hidden;
transition: opacity $transition-time;
&--up {
......@@ -39,10 +40,6 @@ $transition-time: 0.3s !default;
left: auto;
right: 0;
}
@at-root div#{&} {
min-width: 26rem;
}
}
&__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