Skip to content

Commit e1baba4

Browse files
authored
Merge pull request #12561 from timhoffm/fix-exception-css
Properly css-style exceptions in the documentation
2 parents 921d4f4 + 33868b3 commit e1baba4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/_static/mpl.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ td.field-body table.property-table tr:last-of-type td {
731731

732732
/*** function and class description ***/
733733
/* top-level definitions */
734-
dl.class, dl.function, dl.data {
734+
dl.class, dl.function, dl.data, dl.exception {
735735
border-top: 1px solid #888;
736736
padding-top: 0px;
737737
margin-top: 20px;
@@ -744,7 +744,7 @@ dl.method, dl.classmethod, dl.staticmethod, dl.attribute {
744744

745745

746746
dl.class > dt, dl.classmethod > dt, dl.method > dt, dl.function > dt,
747-
dl.attribute > dt, dl.staticmethod > dt, dl.data > dt {
747+
dl.attribute > dt, dl.staticmethod > dt, dl.data > dt, dl.exception > dt {
748748
background-color: #eff3f4;
749749
padding-left: 6px;
750750
padding-right: 6px;

0 commit comments

Comments
 (0)