We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eace08d + debd22c commit 6df16f3Copy full SHA for 6df16f3
docs/book/theme/css/general.css
@@ -351,12 +351,17 @@ input.markers-summarize:checked ~ label.markers-summarize::before {
351
flex-direction: column;
352
}
353
354
-/* details elements (not markers) */
355
-details.collapse-code {
+/* don't add margin between collapsed code elements and pre blocks */
+/* (this just removes all margin around pre, but that's generally fine) */
356
+.literate pre {
357
+ margin: 0;
358
+}
359
+.literate cite.literate-source + * {
360
+ /* a bit of margin against the cite element */
361
margin-top: 0.125em;
- margin-bottom: 0.125em;
362
363
364
+/* details elements (not markers) */
365
details.collapse-code > summary {
366
width: 100%;
367
cursor: pointer;
0 commit comments