TootPreviewCard: minor layout adjustment
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:
parent
fe2802d933
commit
ae6f0ff9d8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue