Skip to content

Commit 34ab462

Browse files
orangecmspamolloy
authored andcommitted
fix overall page layout
The previous attempt only looked okay in the footnote section. At the same time, it caused the page to still overflow. This now ensures that only the link expands to a 90% width, leaving the rest of the space for the back reference. Signed-off-by: Daniel Maslowski <[email protected]>
1 parent 6f7dae4 commit 34ab462

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

layouts/partials/head_custom.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
display: flex;
1010
}
1111
.footnotes p a {
12-
max-width: 100%;
1312
overflow: hidden;
1413
text-overflow: ellipsis;
1514
display: inline-block;
1615
white-space: nowrap;
17-
flex: 1 0 90%;
16+
}
17+
.footnotes p a:nth-child(1) {
18+
max-width: 90%;
1819
}
1920
</style>

0 commit comments

Comments
 (0)