Clean up image presentation on home status view
This commit is contained in:
@@ -98,9 +98,3 @@ h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
|
|||||||
.squircle {
|
.squircle {
|
||||||
clip-path: url(#squircleClip);
|
clip-path: url(#squircleClip);
|
||||||
}
|
}
|
||||||
|
|
||||||
.status-body img {
|
|
||||||
max-width: 8rem;
|
|
||||||
border-radius: 0.25rem;
|
|
||||||
margin-top: 1rem;
|
|
||||||
}
|
|
||||||
|
@@ -11,7 +11,10 @@ div class="mb-8 max-w-screen-md mx-auto border-t border-solid border-gray-200 da
|
|||||||
div class="col-span-7 sm:col-span-6 text-left"
|
div class="col-span-7 sm:col-span-6 text-left"
|
||||||
a class="u-url block my-auto hover:underline decoration-wavy" href=latest_status.permalink
|
a class="u-url block my-auto hover:underline decoration-wavy" href=latest_status.permalink
|
||||||
span class="e-content status-body"
|
span class="e-content status-body"
|
||||||
== latest_status.content
|
- if latest_status.key_image
|
||||||
|
img class="float-start max-w-32 rounded mr-2" src=latest_status.key_image
|
||||||
|
p
|
||||||
|
== latest_status.raw_content
|
||||||
- latest_status.syndicated_to.each do |loc|
|
- latest_status.syndicated_to.each do |loc|
|
||||||
small class="text-fuchsia-200 dark:text-fuchsia-500"
|
small class="text-fuchsia-200 dark:text-fuchsia-500"
|
||||||
a rel="syndication" class="u-syndication" href=loc[:url] Read on #{loc[:location]}
|
a rel="syndication" class="u-syndication" href=loc[:url] Read on #{loc[:location]}
|
||||||
|
Reference in New Issue
Block a user