mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-11-22 05:58:33 +00:00
Removed whitespace if no role is provided
If you had no role -> {} in your cventry, there was a gap before. Now, I removed it and it looks natural.
This commit is contained in:
parent
1a5691e63f
commit
40b0171a8c
1 changed files with 4 additions and 2 deletions
|
@ -648,8 +648,10 @@
|
||||||
\ifempty{#2#3}
|
\ifempty{#2#3}
|
||||||
{\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
|
{\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
|
||||||
{\entrytitlestyle{#2} & \entrylocationstyle{#3} \\
|
{\entrytitlestyle{#2} & \entrylocationstyle{#3} \\
|
||||||
\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
|
\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
|
||||||
\multicolumn{2}{L{\textwidth}}{\descriptionstyle{#5}}
|
\if\relax\detokenize{#5}\relax\else % THIS LINE ADDED TO CHECK IF LAST ARGUMENT IS EMPTY
|
||||||
|
\multicolumn{2}{L{\textwidth}}{\ifempty{#1}{\vskip-1\baselineskip}{}\descriptionstyle{#5}}% ONLY DO THIS IF #5 IS NOT EMPTY
|
||||||
|
\fi % END OF THE IF STATEMENT
|
||||||
\end{tabular*}%
|
\end{tabular*}%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue