tangled
alpha
login
or
join now
jordanreger.com
/
htmlsky
0
fork
atom
An HTML-only Bluesky frontend
0
fork
atom
overview
issues
pulls
pipelines
update word-wrap
jordanreger.com
2 years ago
04482fb5
77f7bfb0
+2
-2
1 changed file
expand all
collapse all
unified
split
public
external_embed.html
+2
-2
public/external_embed.html
···
2
2
{{if .Post.Embed}}
3
3
{{if eq .Post.Embed.Type "app.bsky.embed.external#view"}}
4
4
<a href="{{.Post.Embed.External.URI}}" style="color:inherit;text-decoration:none;">
5
5
-
<article style="max-width:600px;padding:10px;border: 1px solid;">
5
5
+
<article style="max-width:600px;padding:10px;border:1px solid;text-overflow:ellipsis;">
6
6
{{if .Post.Embed.External.Thumb}}<img src="{{.Post.Embed.External.Thumb}}" alt="External Embed image">{{end}}
7
7
{{if .Post.Embed.External.Title}}
8
8
<h3 style="text-overflow: ellipsis;">{{.Post.Embed.External.Title}}</h3>
9
9
-
<p style="text-overflow: ellipsis;">{{.Post.Embed.External.Description}}</p>
9
9
+
<p style="word-wrap:break-word;text-overflow:ellipsis;">{{.Post.Embed.External.Description}}</p>
10
10
{{else}}
11
11
<h3>{{.Post.Embed.External.URI}}</h3>
12
12
{{end}}