Prevent horizontal scrolling on pages with long source URLs

This commit is contained in:
amrw 2020-12-06 14:19:07 +01:00
parent bc93da2a31
commit bc93363d9a
No known key found for this signature in database
GPG Key ID: BDE4B0FDD8FA1C85
2 changed files with 4 additions and 1 deletions

3
dist/css/styles.css vendored
View File

@ -906,6 +906,9 @@ input[type="submit"]:hover,
#post .gallery .item small { #post .gallery .item small {
font-size: 10px; font-size: 10px;
} }
#post .source-url {
overflow: auto;
}
/* USER */ /* USER */
#user .entries { #user .entries {
float: left; float: left;

View File

@ -106,7 +106,7 @@ html
p p
| source: | source:
a(href="" + post.media.embed_src + "", target="_blank") a(href="" + post.media.embed_src + "", target="_blank")
p #{post.media.embed_src} p(class="source-url") #{post.media.embed_src}
else else
.video .video
a(href="" + post.media.source + "") a(href="" + post.media.source + "")