Remove the grid from figures in two-column grid
This lays out figcaptions better than with the grid.
This commit is contained in:
parent
ccedb4c2bd
commit
5a67372ee5
1 changed files with 4 additions and 0 deletions
|
@ -164,6 +164,10 @@ main.content > .two-column {
|
||||||
grid-column: unset;
|
grid-column: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> .figure {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
&:has(figure:first-child + figure:last-child) {
|
&:has(figure:first-child + figure:last-child) {
|
||||||
gap: var(--space-xs);
|
gap: var(--space-xs);
|
||||||
grid-column: wide-gutter-start / wide-gutter-end;
|
grid-column: wide-gutter-start / wide-gutter-end;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue