Skip to content

Commit

Permalink
Remove extra space when "description" of /cventry is empty
Browse files Browse the repository at this point in the history
This simply checks if the description is empty and if it is, it renders nothing.
  • Loading branch information
pavgup authored and OJFord committed Jul 27, 2023
1 parent 4b55638 commit e140258
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion awesome-cv.cls
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,9 @@
{\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
{\entrytitlestyle{#2} & \entrylocationstyle{#3} \\
\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
\multicolumn{2}{L{\textwidth}}{\descriptionstyle{#5}}
\ifstrempty{#5}
{}
{\multicolumn{2}{L{\textwidth}}{\descriptionstyle{#5}} \\}
\end{tabular*}%
}

Expand Down

0 comments on commit e140258

Please sign in to comment.