mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(post form): fix positioning and styling on mobile
This commit is contained in:
+1
-2
@@ -75,9 +75,8 @@ const BoardLayout = () => {
|
|||||||
{isMobile
|
{isMobile
|
||||||
? (subplebbitAddress || isInAllView || isInModView || isInSubscriptionsView || pendingPost?.subplebbitAddress) && (
|
? (subplebbitAddress || isInAllView || isInModView || isInSubscriptionsView || pendingPost?.subplebbitAddress) && (
|
||||||
<>
|
<>
|
||||||
<PostForm key={key} />
|
|
||||||
<hr />
|
|
||||||
<MobileBoardButtons />
|
<MobileBoardButtons />
|
||||||
|
<PostForm key={key} />
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
: (subplebbitAddress || isInAllView || isInModView || isInSubscriptionsView || pendingPost?.subplebbitAddress) && (
|
: (subplebbitAddress || isInAllView || isInModView || isInSubscriptionsView || pendingPost?.subplebbitAddress) && (
|
||||||
|
|||||||
@@ -137,6 +137,15 @@
|
|||||||
.postFormTable button {
|
.postFormTable button {
|
||||||
padding: 3px 6px;
|
padding: 3px 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.postFormMobile {
|
||||||
|
margin-bottom: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.postFormTable {
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-bottom: 3px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 640px) {
|
@media (min-width: 640px) {
|
||||||
|
|||||||
Reference in New Issue
Block a user