Make header details flush against sides (#229)

* Make header details flush against sides

* Add fix to changelog
This commit is contained in:
Aditya Bhargava 2025-01-13 11:05:32 -05:00 committed by GitHub
commit 56d1b65d9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 6 deletions

View file

@ -92,7 +92,7 @@
\ifthenelse{\equal{\@homepageprotocol}{http}}{\httplink{\@homepage}}{\httpslink{\@homepage}}}%
\socialsdetails% needs to be pre-rendered as loops and tabulars seem to conflict
\ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}%
\end{tabular}
\end{tabular}%
}\fi%
% optional photo (pre-rendering)
\@initializebox{\makecvheadpicturebox}%
@ -106,9 +106,9 @@
\setlength{\fboxrule}{\@photoframewidth}%
\ifdim\@photoframewidth=0pt%
\setlength{\fboxsep}{0pt}\fi%
\framebox{\includegraphics[width=\@photowidth]{\@photo}}}%
\framebox{\includegraphics[width=\@photowidth]{\@photo}}%
\if@right%
\hspace*{\separatorcolumnwidth}\fi}%
\hspace*{\separatorcolumnwidth}\fi}}%
% name and title (pre-rendering)
\@initializelength{\makecvheaddetailswidth}\settowidth{\makecvheaddetailswidth}{\usebox{\makecvheaddetailsbox}}%
\@initializelength{\makecvheadpicturewidth}\settowidth{\makecvheadpicturewidth}{\usebox{\makecvheadpicturebox}}%