Commits

Georg Brandl committed 216850a Merge

Merged in klukas/sphinx/admonitions (pull request #68)

  • Participants
  • Parent commits 5d053a6, 674db4b

Comments (0)

Files changed (1)

sphinx/texinputs/sphinx.sty

   \addtolength{\py@noticelength}{-2\fboxsep}
   \addtolength{\py@noticelength}{-2\fboxrule}
   %\setlength{\shadowsize}{3pt}
-  \Sbox
+  \noindent\Sbox
   \minipage{\py@noticelength}
 }
 \newcommand{\py@endheavybox}{
 
 \newcommand{\py@lightbox}{{%
   \setlength\parskip{0pt}\par
-  \rule[0ex]{\linewidth}{0.5pt}%
-  \par\vspace{-0.5ex}%
+  \noindent\rule[0ex]{\linewidth}{0.5pt}%
+  \par\noindent\vspace{-0.5ex}%
   }}
 \newcommand{\py@endlightbox}{{%
   \setlength{\parskip}{0pt}%
-  \par\rule[0.5ex]{\linewidth}{0.5pt}%
+  \par\noindent\rule[0.5ex]{\linewidth}{0.5pt}%
   \par\vspace{-0.5ex}%
   }}