Skip to content

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

UX: adds flexbox to topic user name fields on mobile

Joed36c260dd041
diff --git a/app/assets/stylesheets/mobile/topic-post.scss b/app/assets/stylesheets/mobile/topic-post.scss
index 16b74dfc9b1..39667290835 100644
--- a/app/assets/stylesheets/mobile/topic-post.scss
+++ b/app/assets/stylesheets/mobile/topic-post.scss
@@ -453,6 +453,30 @@ span.highlighted {
font-size: $font-down-1;
.names {
line-height: $line-height-medium;
+ display: flex;
+ flex-wrap: wrap;
+ .full-name {
+ font-weight: bold;
+ order: 1;
+ }
+ .staff-notes-icon {
+ order: 2;
+ margin-left: 4px;
+ }
+ .poster-icon {
+ order: 2;
+ }
+ .username {
+ order: 3;
+ flex-basis: 100%;
+ }
+ .user-title {
+ order: 4;
+ flex-basis: 100%;
+ }
+ span {
+ margin-right: 4px;
+ }
}
}