Skip to content

Commit

Permalink
Customized link preview flex container and child elements
Browse files Browse the repository at this point in the history
  • Loading branch information
clvgt12 authored Jun 17, 2024
1 parent 11072d1 commit 3a7d067
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions html/mastodon-embed-timeline-4.4.2.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html><head><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@idotj/[email protected]/dist/mastodon-timeline.min.css" integrity="sha256-1UGgxsonaMCfOEnVOL89aMKSo3GEAmaRP0ISbsWa6lU=" crossorigin="anonymous"><script src="https://cdn.jsdelivr.net/npm/@idotj/[email protected]/dist/mastodon-timeline.umd.js" integrity="sha256-E6WPG6iq+qQIzvu3HPJJxoAeRdum5siq13x4ITjyxu8=" crossorigin="anonymous"></script><style>:root{--rem:14;font-size:14px;font-family:Open Sans,Verdana,sans-serif}.mt-post-txt-wrapper p{color:#626262}</style></head><body><div id="mt-container" class="mt-container"><div class="mt-body" role="feed"><div class="mt-loading-spinner"></div></div></div><script>const myTimeline = new MastodonTimeline.Init({
<!DOCTYPE html><html><head><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@idotj/[email protected]/dist/mastodon-timeline.min.css" integrity="sha256-1UGgxsonaMCfOEnVOL89aMKSo3GEAmaRP0ISbsWa6lU=" crossorigin="anonymous"><script src="https://cdn.jsdelivr.net/npm/@idotj/[email protected]/dist/mastodon-timeline.umd.js" integrity="sha256-E6WPG6iq+qQIzvu3HPJJxoAeRdum5siq13x4ITjyxu8=" crossorigin="anonymous"></script><style>:root{--rem:14;font-size:14px;font-family:Open Sans,Verdana,sans-serif;}.mt-post-txt-wrapper p{color :#626262;}.mt-post-preview {flex-direction: column;}.mt-post-preview-image {width: 100%;}.mt-post-preview-noImage {display: none;}.mt-post-preview-content {width: 100%;margin: 0.5rem 1.0rem 0.5rem 1.0rem;}.mt-post-preview-author {margin-left: 1.0rem;margin-right: 1.0rem;}.mt-post-preview-provider {margin-left: 1.0rem;margin-right: 1.0rem;}.mt-post-preview-description {margin-left: 1.0rem;margin-right: 1.0rem;}.mt-post-preview-title {margin-left: 1.0rem;margin-right: 1.0rem;}</style></head><body><div id="mt-container" class="mt-container"><div class="mt-body" role="feed"><div class="mt-loading-spinner"></div></div></div><script>const myTimeline = new MastodonTimeline.Init({
instanceUrl: "https://sigmoid.social",
timelineType: "profile",
userId: "112187606151793444",
Expand All @@ -8,7 +8,7 @@
dateLocale: "en-US",
markdownBlockquote: true,
hideReplies: true,
hidePreviewLink: true,
btnSeeMore: "",
btnReload: ""
hidePreviewLink: false,
btnSeeMore: "",
btnReload: ""
});</script></body></html>

0 comments on commit 3a7d067

Please sign in to comment.