Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions assets/sass/expander.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@

.o-expander__content {
padding: 1.2rem;

// Remove margins from last elements of expander (up to 3 levels deep)
& > *:last-child,
& > *:last-child > *:last-child,
& > *:last-child > *:last-child > *:last-child {
margin-bottom: 0;
}
}

.details-print {
Expand Down
6 changes: 6 additions & 0 deletions assets/sass/textHighlight.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
border-radius: var(--border-radius-m);
border-left: var(--bg-neutral) solid 1rem;

// Remove margins from last elements of expander (up to 2 levels deep)
& > *:last-child,
& > *:last-child > *:last-child {
margin-bottom: 0;
}

@media print {
page-break-inside: avoid;
}
Expand Down
Loading