From 62374bd4a9d0b6b051a90b56b462c6be92792e67 Mon Sep 17 00:00:00 2001 From: dottorJekyll Date: Sun, 16 Feb 2020 15:48:34 +0100 Subject: [PATCH] Add mbox to social links --- awesome-cv.cls | 52 +++++++++++++++++++++++++++++++++++++------------- 1 file changed, 39 insertions(+), 13 deletions(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index c26c775..a692b96 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -465,79 +465,105 @@ {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{mailto:\@email}{\faEnvelope\acvHeaderIconSep\@email}% + \mbox{ + \href{mailto:\@email}{\faEnvelope\acvHeaderIconSep\@email}% + } }% \ifthenelse{\isundefined{\@homepage}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{http://\@homepage}{\faHome\acvHeaderIconSep\@homepage}% + \mbox{ + \href{http://\@homepage}{\faHome\acvHeaderIconSep\@homepage}% + } }% \ifthenelse{\isundefined{\@github}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://github.com/\@github}{\faGithubSquare\acvHeaderIconSep\@github}% + \mbox{ + \href{https://github.com/\@github}{\faGithubSquare\acvHeaderIconSep\@github}% + } }% \ifthenelse{\isundefined{\@gitlab}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://gitlab.com/\@gitlab}{\faGitlab\acvHeaderIconSep\@gitlab}% + \mbox{ + \href{https://gitlab.com/\@gitlab}{\faGitlab\acvHeaderIconSep\@gitlab}% + } }% \ifthenelse{\isundefined{\@stackoverflowid}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\acvHeaderIconSep\@stackoverflowname}% + \mbox{ + \href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\acvHeaderIconSep\@stackoverflowname}% + } }% \ifthenelse{\isundefined{\@linkedin}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\acvHeaderIconSep\@linkedin}% + \mbox{ + \href{https://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\acvHeaderIconSep\@linkedin}% + } }% \ifthenelse{\isundefined{\@twitter}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://twitter.com/\@twitter}{\faTwitter\acvHeaderIconSep\@twitter}% + \mbox{ + \href{https://twitter.com/\@twitter}{\faTwitter\acvHeaderIconSep\@twitter}% + } }% \ifthenelse{\isundefined{\@skype}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \faSkype\acvHeaderIconSep\@skype% + \mbox{ + \faSkype\acvHeaderIconSep\@skype% + } }% \ifthenelse{\isundefined{\@reddit}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://www.reddit.com/user/\@reddit}{\faReddit\acvHeaderIconSep\@reddit}% + \mbox{ + \href{https://www.reddit.com/user/\@reddit}{\faReddit\acvHeaderIconSep\@reddit}% + } }% \ifthenelse{\isundefined{\@xing}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://www.xing.com/profile/\@xing}{\faXingSquare\acvHeaderIconSep\@xing} + \mbox{ + \href{https://www.xing.com/profile/\@xing}{\faXingSquare\acvHeaderIconSep\@xing} + } }% \ifthenelse{\isundefined{\@medium}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://medium.com/@\@medium}{\faMedium\acvHeaderIconSep\@medium}% + \mbox{ + \href{https://medium.com/@\@medium}{\faMedium\acvHeaderIconSep\@medium}% + } }% \ifthenelse{\isundefined{\@googlescholarid}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://scholar.google.com/citations?user=\@googlescholarid}{\faGraduationCap\acvHeaderIconSep\@googlescholarname}% + \mbox{ + \href{https://scholar.google.com/citations?user=\@googlescholarid}{\faGraduationCap\acvHeaderIconSep\@googlescholarname}% + } }% \ifthenelse{\isundefined{\@extrainfo}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \@extrainfo% + \mbox{ + \@extrainfo% + } }% } \\[\acvHeaderAfterSocialSkip]% \ifthenelse{\isundefined{\@quote}}%