Refine layout.
This commit is contained in:
@@ -46,14 +46,14 @@
|
||||
\fcolorbox{boxedcoloroutline}{#2}{\color{#3}\strut{}#1}}%
|
||||
}
|
||||
|
||||
\providelength{\warningboxwidth}[\textwidth - \fboxsep * 2 - \fboxrule *2]
|
||||
\providelength{\warningboxwidth}[
|
||||
\textwidth - \fboxsep * 2 - \fboxrule * 2 - 5.56pt % Magic number to make it fit.
|
||||
]
|
||||
|
||||
\NewDocumentCommand{\warningbox}{O{\warningboxwidth} +m}{%
|
||||
\noindent%
|
||||
\fcolorbox{WarningBoxFGColor}{WarningBoxBGColor}{%
|
||||
\noindent%
|
||||
\begin{minipage}{#1}%
|
||||
\raggedbottom%
|
||||
%\rule{\textwidth}{1pt}\zws% For debugging.
|
||||
#2%
|
||||
\end{minipage}%
|
||||
}%
|
||||
|
||||
Reference in New Issue
Block a user