mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
show subnavigation only when parent is active
This commit is contained in:
parent
20237f353b
commit
a3b5731a06
@ -25,12 +25,17 @@ $menuBreakPoint: 750px;
|
||||
}
|
||||
|
||||
&__link-list &__link-list {
|
||||
display: none;
|
||||
padding-left: 1rem;
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 1.5rem;
|
||||
border-left: 2px solid rgba($colorBlack, 0.1);
|
||||
}
|
||||
|
||||
.active + &__link-list {
|
||||
display: block;
|
||||
}
|
||||
|
||||
&__link {
|
||||
display: block;
|
||||
padding: 0.1rem 0.5rem;
|
||||
|
Loading…
Reference in New Issue
Block a user