Skip to content

Commit

Permalink
Fix: Fix grouped / sub topic body alignment, progress bar width (fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
swashbuck authored Mar 22, 2024
1 parent 978e9b9 commit 66b19f8
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions less/toc.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
// --------------------------------------------------
.toc__group-item .toc__group {
.toc__group-item-title,
.toc__item-title-inner {
text-indent: 1rem;
.toc__item-title-inner,
.toc__item-body-inner {
padding-inline-start: 1rem;
}
}

Expand Down Expand Up @@ -93,6 +94,14 @@
// THEME
// --------------------------------------------------

.drawer .toc {
&__item-title,
&__item-subtitle,
&__item-body {
width: 100%;
}
}

.toc {
&__item-content {
display: flex;
Expand All @@ -114,6 +123,7 @@
// --------------------------------------------------
.toc {
&__indicator {
min-width: 2rem;
border-color: @progress-border;
}

Expand Down

0 comments on commit 66b19f8

Please sign in to comment.