Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Mobile tweaks

Matt Robertscd9bc30e3565
diff --git a/public/pages/ShowPost/ShowPost.page.scss b/public/pages/ShowPost/ShowPost.page.scss
index 394ee3e01..fbb8b7a89 100644
--- a/public/pages/ShowPost/ShowPost.page.scss
+++ b/public/pages/ShowPost/ShowPost.page.scss
@@ -118,6 +118,10 @@
flex-direction: column;
gap: spacing(4);
+ @include media("sm") {
+ margin-top: spacing(6);
+ }
+
> * {
background-color: var(--colors-white);
@include dark-mode {
@@ -143,6 +147,15 @@
}
}
+ .c-comment-input {
+ // Hide avatar on mobile for comment input
+ @include media("sm") {
+ .c-avatar {
+ display: none;
+ }
+ }
+ }
+
.c-comment-input-card {
flex-grow: 1;
background-color: var(--colors-white);
diff --git a/public/pages/ShowPost/ShowPost.page.tsx b/public/pages/ShowPost/ShowPost.page.tsx
index b7c8fae80..f34d7b369 100644
--- a/public/pages/ShowPost/ShowPost.page.tsx
+++ b/public/pages/ShowPost/ShowPost.page.tsx
@@ -287,7 +287,7 @@ export default function ShowPostPage(props: ShowPostPageProps) {
{/* Bottom Action Bar */}
{!editMode && (
<div className="p-show-post__actions">
- <HStack spacing={4} align="center">
+ <HStack spacing={0} align="center" className="flex-wrap gap-2">
<ActionButton icon={IconDuplicate} onClick={onActionSelected("copy")}>
<Trans id="action.copylink">Copy link</Trans>
</ActionButton>