Merge pull request 'Prevent Horizontal Scrolling on Pages With Long Source URLs' (#46) from amrw/teddit:prevent-horizontal-scrolling into main

Reviewed-on: https://codeberg.org/teddit/teddit/pulls/46
This commit is contained in:
teddit 2020-12-06 14:46:18 +01:00
commit 421c28ba25
2 changed files with 4 additions and 1 deletions

3
dist/css/styles.css vendored
View File

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

View File

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