Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Swapped order around

Matt Robertsae37eecefaee
diff --git a/public/pages/ShowPost/ShowPost.page.scss b/public/pages/ShowPost/ShowPost.page.scss
index 3ec0f2e62..d91672cdf 100644
--- a/public/pages/ShowPost/ShowPost.page.scss
+++ b/public/pages/ShowPost/ShowPost.page.scss
@@ -174,11 +174,11 @@
.p-show-post {
display: grid;
gap: spacing(6);
- grid-template-columns: 1fr 320px;
+ grid-template-columns: 320px 1fr;
grid-template-rows: auto;
grid-template-areas:
- "Main Action"
- "Main Action";
+ "Action Main"
+ "Action Main";
&__main-col {
grid-area: Main;
diff --git a/public/pages/ShowPost/ShowPost.page.tsx b/public/pages/ShowPost/ShowPost.page.tsx
index aa85601b6..069a22a11 100644
--- a/public/pages/ShowPost/ShowPost.page.tsx
+++ b/public/pages/ShowPost/ShowPost.page.tsx
@@ -188,6 +188,15 @@ export default function ShowPostPage(props: ShowPostPageProps) {
<Header />
<div id="p-show-post" className="page container">
<div className="p-show-post">
+ {/* Left Sidebar */}
+ <div className="p-show-post__action-col">
+ <StayUpdatedCard post={props.post} subscribed={props.subscribed} />
+
+ <VotesPanel post={props.post} votes={props.votes} />
+
+ <PoweredByFider slot="show-post" className="mt-3" />
+ </div>
+
<div className="p-show-post__main-col">
{/* Post Card */}
<div className="p-show-post__post-card">
@@ -337,15 +346,6 @@ export default function ShowPostPage(props: ShowPostPageProps) {
)}
</div>
</div>
-
- {/* Right Sidebar */}
- <div className="p-show-post__action-col">
- <StayUpdatedCard post={props.post} subscribed={props.subscribed} />
-
- <VotesPanel post={props.post} votes={props.votes} />
-
- <PoweredByFider slot="show-post" className="mt-3" />
- </div>
</div>
</div>