mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-11 21:31:39 +00:00
Merge pull request #43 from ovlb/feature/fix-break-in-table-of-content
👩🎨 Avoid Breaks in Table of Content Items
This commit is contained in:
@ -206,11 +206,8 @@ th {
|
||||
grid-gap: var(--l-gap);
|
||||
}
|
||||
|
||||
.multi-column {
|
||||
column-count: auto;
|
||||
column-gap: var(--l-gap);
|
||||
column-width: var(--auto-grid-min-size);
|
||||
}
|
||||
@import './structures/multi-column';
|
||||
@import './structures/table-of-content';
|
||||
|
||||
.small-left-grid {
|
||||
display: grid;
|
||||
|
5
assets/css/structures/_multi-column.scss
Normal file
5
assets/css/structures/_multi-column.scss
Normal file
@ -0,0 +1,5 @@
|
||||
.multi-column {
|
||||
column-count: auto;
|
||||
column-gap: var(--l-gap);
|
||||
column-width: var(--auto-grid-min-size);
|
||||
}
|
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 {
|
||||
break-inside: avoid;
|
||||
}
|
Reference in New Issue
Block a user