Removed animation breaking things and open submenu which arent .collapsible by default
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
adffaff081
commit
04929640ac
|
@ -113,16 +113,13 @@ kbd {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.open > ul {
|
&.open > ul {
|
||||||
max-height: 2000px;
|
display: block;
|
||||||
}
|
}
|
||||||
/* Second level nesting for lists */
|
/* Second level nesting for lists */
|
||||||
> ul {
|
> ul {
|
||||||
flex: 1 0 100%;
|
flex: 1 0 100%;
|
||||||
padding-left: 44px;
|
padding-left: 44px;
|
||||||
width: inherit;
|
width: inherit;
|
||||||
max-height: 0;
|
|
||||||
overflow: hidden;
|
|
||||||
transition: all 500ms ease-in-out;
|
|
||||||
> li {
|
> li {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
@ -224,6 +221,9 @@ kbd {
|
||||||
}
|
}
|
||||||
.collapsible {
|
.collapsible {
|
||||||
border-width: 0 1 0 0 !important;
|
border-width: 0 1 0 0 !important;
|
||||||
|
> ul {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
> .collapse {
|
> .collapse {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 44px;
|
height: 44px;
|
||||||
|
|
Loading…
Reference in New Issue