Improve how long source URLs are displayed
This commit is contained in:
parent
7c7709e74f
commit
063523ed4d
|
@ -749,6 +749,14 @@ footer a {
|
|||
#post .submitted span {
|
||||
margin-left: 5px;
|
||||
}
|
||||
#post .source-details {
|
||||
float: left;
|
||||
margin: 10px 0 10px 30px;
|
||||
}
|
||||
#post .source-details summary:hover {
|
||||
color: var(--linkcolor);
|
||||
text-decoration: underline;
|
||||
}
|
||||
#post .comments {
|
||||
float: left;
|
||||
width: 100%;
|
||||
|
|
|
@ -163,10 +163,11 @@ html
|
|||
a(href="" + post.media.embed_src + "", target="_blank", rel="noopener noreferrer")
|
||||
img(src="" + post.images.source + "", alt="")
|
||||
if !post.media.embed_src.startsWith("https://twitter.com")
|
||||
p
|
||||
| source:
|
||||
a(href="" + post.media.embed_src + "", target="_blank", rel="noopener noreferrer")
|
||||
p(class="source-url") #{post.media.embed_src}
|
||||
details(class="source-details")
|
||||
summary Source
|
||||
p
|
||||
a(href="" + post.media.embed_src + "", target="_blank", rel="noopener noreferrer")
|
||||
p(class="source-url") #{post.media.embed_src}
|
||||
else
|
||||
.video
|
||||
a(href="" + post.media.source + "")
|
||||
|
|
Loading…
Reference in New Issue