From ea169a9fce42dda85e882624cf7c43f6c64d9db7 Mon Sep 17 00:00:00 2001 From: Eric Guirbal Date: Sun, 13 Aug 2023 01:19:48 +0200 Subject: [PATCH] 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. --- print.less | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/print.less b/print.less index 671c2cf..40721dd 100644 --- a/print.less +++ b/print.less @@ -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; + } + } + } +} +