style(board): show rules under description

This commit is contained in:
Tom (plebeius.eth)
2024-09-15 21:27:32 +02:00
parent 3e8053b9bf
commit b363c27108
8 changed files with 57 additions and 18 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ const Board = () => {
)}
{feed.length !== 0 ? (
<>
{rules && rules.length > 0 && <SubplebbitRules subplebbitAddress={subplebbitAddress} createdAt={createdAt} rules={rules} />}
{rules && !description && rules.length > 0 && <SubplebbitRules subplebbitAddress={subplebbitAddress} createdAt={createdAt} rules={rules} />}
<Virtuoso
increaseViewportBy={{ bottom: 1200, top: 1200 }}
totalCount={combinedFeed.length}
+4
View File
@@ -163,6 +163,10 @@
overflow: hidden;
}
.rulesMessage {
font-weight: 700 !important;
}
.postDesktop .abbr {
color: var(--post-mobile-abbr-text-color);
font-size: var(--post-mobile-abbr-font-size);