-
+
@@ -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 { From 47d4be150f196010ab999ac779f8faaf33718f05 Mon Sep 17 00:00:00 2001 From: Chris Rodrigues Date: Mon, 2 Dec 2024 13:10:11 -0800 Subject: [PATCH 6/6] Revert "Merge branch 'proxy' into server-migration" This reverts commit 3c39cfc7e1854085b31e2df6fa582c20d231cf49, reversing changes made to d734f8cdcd1338ba5257b9593ee68756408585a2. --- public/index.html | 2 +- src/api/index.js | 4 ++-- src/components/layout/HeaderComponent.vue | 16 +++---------- src/components/threads/RecentThreads.vue | 2 +- src/components/users/RankDisplay.vue | 4 +--- src/components/users/UserPosts.vue | 7 ++---- src/composables/stores/prefs.js | 4 ++-- src/composables/utils/boardUtils.js | 1 - src/views/Boards.vue | 9 +++---- src/views/Posts.vue | 10 ++++---- src/views/Profile.vue | 20 +++++++--------- src/views/Threads.vue | 29 +++++++++++++---------- start-nginx.sh | 3 --- 13 files changed, 44 insertions(+), 67 deletions(-) diff --git a/public/index.html b/public/index.html index 7f0263b6..4b39f430 100644 --- a/public/index.html +++ b/public/index.html @@ -16,7 +16,7 @@