fix(post form): fix positioning and styling on mobile

This commit is contained in:
plebeius
2025-12-06 15:46:34 +01:00
parent 8f78a46e96
commit e84038f185
2 changed files with 10 additions and 2 deletions
+1 -2
View File
@@ -75,9 +75,8 @@ const BoardLayout = () => {
{isMobile
? (subplebbitAddress || isInAllView || isInModView || isInSubscriptionsView || pendingPost?.subplebbitAddress) && (
<>
<PostForm key={key} />
<hr />
<MobileBoardButtons />
<PostForm key={key} />
</>
)
: (subplebbitAddress || isInAllView || isInModView || isInSubscriptionsView || pendingPost?.subplebbitAddress) && (
@@ -137,6 +137,15 @@
.postFormTable button {
padding: 3px 6px;
}
.postFormMobile {
margin-bottom: 6px;
}
.postFormTable {
padding-top: 20px;
padding-bottom: 3px;
}
}
@media (min-width: 640px) {