diff --git a/elegantbook.cls b/elegantbook.cls index dbece0c..0f77e7d 100644 --- a/elegantbook.cls +++ b/elegantbook.cls @@ -1296,8 +1296,8 @@ \includegraphics[trim=0 26bp 0 26bp,clip=true, width=\linewidth]{example-image} \fi }{\relax} - \setlength{\fboxsep}{0pt} - \colorbox{coverlinecolor}{\makebox[\linewidth][c]{\shortstack[c]{\vspace{0.5in}}}} + \vskip-\baselineskip + {\color{coverlinecolor}\hrule \@width \linewidth \@height .5in} \vfill \vskip-2ex \hspace{2em}