Fix a whitespace issue in aggregation table in print version

In a cell with data of type wiki, the first (resp. the last) element
could have a non-zero top-margin (resp. bottom-margin) and this creates
unpleasant whitespaces.

This fixes #661 in print stylesheet.
This commit is contained in:
Eric Guirbal
2023-08-13 01:19:48 +02:00
parent e9c707238f
commit ea169a9fce

View File

@ -20,3 +20,17 @@
.dokuwiki .struct_entry_form {
display: none;
}
.dokuwiki .structaggregation {
&.structaggregationtable, &.structaggregationeditortable {
table.inline td {
& > *:last-child {
margin-bottom: 0;
}
& > *:first-child {
margin-top: 0;
}
}
}
}