-
+
@@ -1113,6 +1141,9 @@ export default { $postWidth__mobile: calc(100vw - 2rem); .post-body { + @include break-mobile-sm { + padding-top: 0.5rem; + } white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; @@ -1362,6 +1393,10 @@ ad-viewer { .post-user { // width: $postUserWidth; flex: 0 0 $postUserWidth; + @include break-mobile-sm { + display: flex; + flex: 0 0 calc(#{$postUserWidth}/1.25); + } margin-right: $postUserMargin; font-size: $font-size-tiny; text-align: center; @@ -1375,6 +1410,10 @@ ad-viewer { background: no-repeat center center; position: relative; margin-bottom: 1rem; + @include break-mobile-sm { + margin-bottom: 0; + margin-right: 0.5rem; + } width: $postUserWidth; height: $postUserWidth; @@ -1427,6 +1466,11 @@ ad-viewer { text-align: center; text-transform: uppercase; width: 100%; + @include break-mobile-sm { + text-align: left; + margin-bottom: 0; + width: auto; + } &-value { font-weight: 600; @@ -1445,6 +1489,66 @@ ad-viewer { } } } + + .post-title-mobile { + color: $secondary-font-color; + display: flex; + flex-direction: column; + align-items: left; + margin-bottom: 0.25rem; + width: 100%; + text-transform: none; + + .post-title-user { + display: flex; + align-items: center; + flex: 2 1 auto; + flex-wrap: wrap; + gap: 0.25rem; + padding-bottom: 0.1rem; + } + + span.username { + margin-right: 0.25rem; + color: $base-font-color; + font-size: $font-size-sm; + font-weight: 600; + &:hover { + color: $color-primary; + } + } + + .user-role { + @include truncate-ellipsis; + background-color: transparent; + border: 1px solid $secondary-font-color; + border-radius: 2px; + color: $secondary-font-color-dark; + display: inline-block; + font-size: $font-size-xs; + font-weight: 400; + line-height: 1.1; + margin-right: 0.5rem; + max-width: 140px; + padding: 0px 6px; + text-align: center; + } + + .user-activity-mobile { + display: flex; + gap: 0.5rem; + } + + .timestamp, .display-name { + display: flex; + color: $secondary-font-color; + font-size: $font-size-xs; + font-weight: 400; + } + .display-name { + color: $secondary-font-color-dark; + } + } } .post-content {