Skip to content

Commit f02f971

Browse files
committed
Add 'display: block' to generated content per dbaron's suggestion
1 parent 373dc51 commit f02f971

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

css-module/default.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,15 @@ div.example:before {
9292
content: "Example";
9393
content: "Example " counter(exampleno);
9494
min-width: 7.5em;
95-
text-transform: uppercase;
95+
text-transform: uppercase;
96+
display: block;
9697
}
9798
pre.example:before {
9899
content: "Example";
99100
content: "Example " counter(exampleno);
100101
min-width: 7.5em;
101102
text-transform: uppercase;
103+
display: block;
102104
}
103105
div.example, div.illegal-example, div.html, div.illegal-html, div.xml,
104106
div.illegal-xml, pre.example, pre.illegal-example, pre.html,
@@ -531,4 +533,4 @@ details.obsolete:not([open]) > summary {
531533
font-weight: bold;
532534
text-align: center;
533535
padding: .5em;
534-
}
536+
}

0 commit comments

Comments
 (0)