marei: fix Pricingtotal spacing
authorMarei (peiTeX) <marei@peitex.de>
Thu, 17 Sep 2020 12:32:14 +0000 (14:32 +0200)
committerJan Büren <jan@kivitendo.de>
Wed, 21 Oct 2020 11:42:02 +0000 (13:42 +0200)
templates/print/marei/kiviletter.sty

index 983e189..58b450a 100644 (file)
@@ -324,7 +324,10 @@ contents={\usebox\shippingAddressBox}
 
 %Macht es sinn hier eine Variante zu machen, in der alle Spalten Belegbar sind?
 \newenvironment{PricingTotal}{
-       \tabular[t]{@{}p{\dim_eval:n {\linewidth-\l_kivi_tab_price_dim-2\tabcolsep}}P@{}}
+       \par
+       \vspace{-\ht\strutbox}
+       \unskip
+       \tabular[t]{@{}p{\dim_eval:n {\linewidth-\l_kivi_tab_pricetotal_dim-2\tabcolsep}}P{\l_kivi_tab_pricetotal_dim}@{}}
        \midrule
 }{
        \bottomrule\endtabular