mirror of
https://gitlab.com/idotj/mastodon-embed-timeline.git
synced 2025-05-23 16:32:47 +00:00
Fix profile name alignment for pinned post
This commit is contained in:
parent
8e27d85395
commit
0498bd554f
@ -1,3 +1,6 @@
|
||||
v4.5.1 - 05/03/2025
|
||||
- Fix profile name alignment for pinned post
|
||||
|
||||
v4.5.0 - 01/03/2025
|
||||
- Allow to filter posts by language
|
||||
- Update documentation
|
||||
|
2
dist/mastodon-timeline.esm.js
vendored
2
dist/mastodon-timeline.esm.js
vendored
File diff suppressed because one or more lines are too long
2
dist/mastodon-timeline.umd.js
vendored
2
dist/mastodon-timeline.umd.js
vendored
File diff suppressed because one or more lines are too long
@ -578,7 +578,7 @@ export class Init {
|
||||
const formattedDate = this.#formatDate(date);
|
||||
const dateHTML =
|
||||
'<div class="mt-post-header-date">' +
|
||||
(c.pinned ? "<svg>...</svg>" : "") +
|
||||
(c.pinned ? '<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24" class="mt-post-pinned" aria-hidden="true"><path d="m640-480 80 80v80H520v240l-40 40-40-40v-240H240v-80l80-80v-280h-40v-80h400v80h-40v280Zm-286 80h252l-46-46v-314H400v314l-46 46Zm126 0Z"></path></svg>' : "") +
|
||||
'<a href="' +
|
||||
url +
|
||||
'" rel="nofollow noopener noreferrer" target="_blank">' +
|
||||
|
Loading…
x
Reference in New Issue
Block a user