Skip to content

Commit 7113230

Browse files
orangecmspamolloy
authored andcommitted
fix style for lengthy links
The newly added link to the Linux Foundation blog in the footnote broke the layout on mobile. This ellipsizes it instead. Signed-off-by: Daniel Maslowski <[email protected]>
1 parent 2836297 commit 7113230

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

layouts/partials/head_custom.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,15 @@
55
.navbar-custom .avatar-container .avatar-img {
66
border-radius: 0;
77
}
8+
.footnotes p {
9+
display: flex;
10+
}
11+
.footnotes p a {
12+
max-width: 100%;
13+
overflow: hidden;
14+
text-overflow: ellipsis;
15+
display: inline-block;
16+
white-space: nowrap;
17+
flex: 1 0 90%;
18+
}
819
</style>

0 commit comments

Comments
 (0)