mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix for new boards
This commit is contained in:
@@ -2153,7 +2153,7 @@ export const BoardForm = styled.div`
|
||||
}
|
||||
|
||||
.op-container {
|
||||
display: inline;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.op {
|
||||
@@ -2327,7 +2327,7 @@ export const BoardForm = styled.div`
|
||||
}
|
||||
|
||||
.op-container {
|
||||
display: inline;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.op {
|
||||
@@ -2500,7 +2500,7 @@ export const BoardForm = styled.div`
|
||||
}
|
||||
|
||||
.op-container {
|
||||
display: inline;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.op {
|
||||
@@ -2671,7 +2671,7 @@ export const BoardForm = styled.div`
|
||||
}
|
||||
|
||||
.op-container {
|
||||
display: inline;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.op {
|
||||
@@ -2839,7 +2839,7 @@ export const BoardForm = styled.div`
|
||||
}
|
||||
|
||||
.op-container {
|
||||
display: inline;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.op {
|
||||
@@ -3017,7 +3017,7 @@ export const BoardForm = styled.div`
|
||||
}
|
||||
|
||||
.op-container {
|
||||
display: inline;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.op {
|
||||
|
||||
@@ -66,7 +66,7 @@ const Board = () => {
|
||||
selectedStyle,
|
||||
setSelectedThread,
|
||||
setSelectedText,
|
||||
selectedTitle, setSelectedTitle,
|
||||
setSelectedTitle,
|
||||
showPostForm,
|
||||
showPostFormLink,
|
||||
setTriggerInsertion,
|
||||
@@ -623,7 +623,7 @@ const Board = () => {
|
||||
return (
|
||||
<>
|
||||
<Helmet>
|
||||
<title>{((selectedTitle ? selectedTitle : selectedAddress) + " - plebchan")}</title>
|
||||
<title>{((subplebbit.title ? subplebbit.title : subplebbit.address) + " - plebchan")}</title>
|
||||
</Helmet>
|
||||
<Container>
|
||||
<AdminListModal
|
||||
@@ -831,7 +831,7 @@ const Board = () => {
|
||||
{subplebbit?.state === "failed" ? (
|
||||
null
|
||||
) : (
|
||||
feed.length > 0 ? (
|
||||
subplebbit?.state === "succeeded" ? (
|
||||
<>
|
||||
{subplebbit.rules ?
|
||||
<>
|
||||
@@ -962,9 +962,7 @@ const Board = () => {
|
||||
{subplebbit.description ?
|
||||
<>
|
||||
<div className="thread">
|
||||
<div className="op-container" style={{
|
||||
display: subplebbit.rules ? "grid" : "block"
|
||||
}}>
|
||||
<div className="op-container">
|
||||
<div className="post op op-desktop">
|
||||
<hr />
|
||||
<div className="post-info">
|
||||
@@ -2549,7 +2547,7 @@ const Board = () => {
|
||||
}}
|
||||
endReached={tryLoadMore}
|
||||
useWindowScroll={true}
|
||||
components={{ Footer: hasMore ? () => <PostLoader /> : null }}
|
||||
components={{ Footer: hasMore && feed.length > 0 ? () => <PostLoader /> : null }}
|
||||
/>
|
||||
</>
|
||||
) : (<PostLoader />)
|
||||
|
||||
Reference in New Issue
Block a user