mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-04-19 10:12:33 +00:00
Compare commits
1 Commits
release-3.
...
fix-source
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0d0aaad40 |
File diff suppressed because one or more lines are too long
@@ -87,6 +87,15 @@
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
// [[Source]] renders as its own <p> after the heading (Redocly 0.131.0+).
|
||||
// overflow: hidden creates a block formatting context so the <p> contains
|
||||
// its floated child instead of collapsing to zero height and bleeding into
|
||||
// the next paragraph.
|
||||
p:has(> a[title="Source"]),
|
||||
p:has(> a[title="ソース"]) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
// Make "invisible" headers take up no space either, so we can use them
|
||||
// to add additional anchors (e.g. for translated pages)
|
||||
h1.invisible,
|
||||
|
||||
Reference in New Issue
Block a user