fix a bug with collapsible sidebar

This commit is contained in:
jinhojang6
2023-06-15 23:51:31 +09:00
parent 94cfb175f5
commit cb4452be4e
2 changed files with 6 additions and 7 deletions
@@ -402,6 +402,10 @@ small {
display: flex;
justify-content: space-between;
align-items: center;
span {
color: rgba(var(--lsd-text-primary), 0.6);
}
}
.theme-edit-this-page {
@@ -498,13 +502,8 @@ small {
.menu__link--active {
border-left: 1px solid rgb(var(--lsd-border-primary));
border-radius: 0;
}
.menu__list-item-collapsible > a {
border: none !important;
span {
color: rgb(var(--lsd-text-primary), 0.6);
color: rgb(var(--lsd-text-primary));
}
}
@@ -150,7 +150,7 @@ export default function DocSidebarItemCategory({
? (e) => {
onItemClick?.(item)
if (href) {
updateCollapsed(false)
updateCollapsed()
} else {
e.preventDefault()
updateCollapsed()