TootPreviewCard: minor layout adjustment
All checks were successful
/ depoly (push) Successful in 1m6s

Remove the image's centre in compact layout.
This helps the feeling when the text is too long.
I am still finding ways to limit the card height.
This commit is contained in:
thislight 2024-08-22 17:11:45 +08:00
parent a24319911b
commit c628397675
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E

View file

@ -117,6 +117,7 @@
color: var(--tutu-color-secondary-text-on-surface);
transition: color 220ms var(--tutu-anim-curve-std), background-color 220ms var(--tutu-anim-curve-std);
padding-bottom: 8px;
overflow: hidden;
>img {
max-width: 100%;
@ -151,7 +152,6 @@
>img:first-child {
grid-row: 1 / 3;
height: 100%;
object-fit: contain;
}