layout fix

This commit is contained in:
Marc Wäckerlin
2026-04-30 18:46:28 +02:00
parent 1bfdbafc27
commit 4c8a24fcf4
20 changed files with 37 additions and 5 deletions
+9 -3
View File
@@ -564,7 +564,13 @@
% Uses actual logo height if logo is taller than default reserved space
% This is computed as a length and stored, not a macro
\newcommand\computeheightscale{%
\setlength{\BCQ@reservedheight}{\dimexpr2em+\ifhaspersonalname{\ifhaspositionblock{\BCQ@companybrandingheight}{0pt}}{0pt}\relax}%
\ifBCQ@header
\setlength{\BCQ@reservedheight}{\dimexpr
\ifhaspersonalname{2em}{\ifhaspositionblock{0pt}{2em}}%
+\ifhaspositionblock{\BCQ@companybrandingheight}{0pt}\relax}%
\else
\setlength{\BCQ@reservedheight}{0pt}%
\fi
\ifdim\BCQ@logoheightdimen>\BCQ@reservedheight
\setlength{\BCQ@heightscale}{\dimexpr\textheight-\BCQ@logoheightdimen-\ifcsdef{Xpgpfingerprint}{2em}{0em}\relax}%
\else
@@ -786,11 +792,11 @@ END:VCARD\BCQ@nl}
\ifhasaddressvisible{%
\ifBCQ@iconleft
\ifBCQ@icon\parbox[c]{1em}{\faMapMarker}\ \ifBCQ@fill\hfill\fi\fi
\begin{varwidth}{\dimexpr#1-2em\relax}
\begin{varwidth}{\dimexpr\textwidth-2em\relax}
\ifBCQ@rightalign\enforceright\fi\address
\end{varwidth}
\else
\begin{varwidth}{\dimexpr#1-2em\relax}
\begin{varwidth}{\dimexpr\textwidth-2em\relax}
\ifBCQ@rightalign\enforceright\fi\address
\end{varwidth}
\ifBCQ@icon\ifBCQ@fill\hfill\fi\ \parbox[c]{1em}{\faMapMarker}\fi