mirror of
https://github.com/wavetermdev/docusaurus-og.git
synced 2026-08-05 13:46:35 -07:00
Merge pull request #61 from acid-info/sidebar-arrow
adjust collapse arrow orientation
This commit is contained in:
@@ -713,6 +713,14 @@ table {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu__list-item-collapsible > a[aria-expanded='false'] > svg {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.menu__list-item-collapsible > a[aria-expanded='true'] > svg {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
@include utils.responsive('sm', 'down') {
|
||||
:root {
|
||||
--ifm-global-spacing: 0.5rem;
|
||||
|
||||
@@ -168,7 +168,7 @@ export default function DocSidebarItemCategory({
|
||||
<Typography variant="body2" color="primary">
|
||||
{label}
|
||||
</Typography>
|
||||
{collapsed ? <ArrowUpIcon /> : <ArrowDownIcon />}
|
||||
{collapsible && <ArrowUpIcon />}
|
||||
</Link>
|
||||
{href && collapsible && (
|
||||
<CollapseButton
|
||||
|
||||
Reference in New Issue
Block a user