UX: user stream alignment fix for likes (#31234)

Small alignment fix for user stream items on desktop, following changes
made in #31122

We currently have a combination of `post-list-item` and
`user-stream-item` classes within these pages, so I've also applied some
shared styles to these elements to provide a more consistent layout.
This commit is contained in:
David Battersby
2025-02-07 17:28:31 +04:00
committed by GitHub
parent 6b6b31a97f
commit 79041cc1a6
2 changed files with 8 additions and 4 deletions

View File

@ -25,12 +25,14 @@
opacity: 0.4;
}
.post-list-item__header {
.post-list-item__header,
.user-stream-item__header {
display: flex;
align-items: flex-start;
}
.post-list-item__details {
.post-list-item__details,
.user-stream-item__details {
flex-grow: 1;
min-width: 0;
@ -39,7 +41,8 @@
}
}
.post-list-item__metadata {
.post-list-item__metadata,
.user-stream-item__metadata {
display: flex;
align-items: center;
justify-content: flex-start;

View File

@ -2,6 +2,7 @@
width: 3rem;
}
.user-stream-item .excerpt {
.user-stream-item .excerpt,
.user-stream-item-actions {
margin: 0.75em 0 0 3.5em;
}