mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 02:48:28 +08:00
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:
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user