mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-11 05:11:40 +00:00
fix(table of content): avoid breaks inside of list items
This commit is contained in:
@ -181,6 +181,7 @@ th {
|
||||
column-gap: var(--l-gap);
|
||||
column-width: var(--auto-grid-min-size);
|
||||
}
|
||||
@import './structures/table-of-content';
|
||||
|
||||
.small-left-grid {
|
||||
display: grid;
|
||||
|
3
assets/css/structures/_table-of-content.scss
Normal file
3
assets/css/structures/_table-of-content.scss
Normal file
@ -0,0 +1,3 @@
|
||||
.toc__list-item {
|
||||
page-break-inside: avoid;
|
||||
}
|
Reference in New Issue
Block a user