mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-29 19:29:27 +01:00
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:
commit
421c28ba25
3
dist/css/styles.css
vendored
3
dist/css/styles.css
vendored
@ -907,6 +907,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;
|
||||||
|
@ -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 + "")
|
||||||
|
Loading…
Reference in New Issue
Block a user