Skip to content

A platform for community discussion. Free, open, simple.

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

David Battersby79041cc1a6b6
diff --git a/app/assets/stylesheets/common/components/user-stream-item.scss b/app/assets/stylesheets/common/components/user-stream-item.scss
index b921b69ac5b..ba32e1f3042 100644
--- a/app/assets/stylesheets/common/components/user-stream-item.scss
+++ b/app/assets/stylesheets/common/components/user-stream-item.scss
@@ -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;
diff --git a/app/assets/stylesheets/desktop/components/user-stream-item.scss b/app/assets/stylesheets/desktop/components/user-stream-item.scss
index c4a34ab75f4..c1cb883c833 100644
--- a/app/assets/stylesheets/desktop/components/user-stream-item.scss
+++ b/app/assets/stylesheets/desktop/components/user-stream-item.scss
@@ -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;
}