From dfd13224b20c05e997995e2ddfd6b27680de7fab Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Tue, 25 Mar 2025 13:02:55 +0100 Subject: [PATCH] fix missing border, wrong spacing --- .../reply-form/reply-form.module.css | 8 +++-- src/components/reply-form/reply-form.tsx | 32 ++++++++++--------- src/components/reply/reply.module.css | 4 +-- src/themes.css | 2 ++ 4 files changed, 27 insertions(+), 19 deletions(-) diff --git a/src/components/reply-form/reply-form.module.css b/src/components/reply-form/reply-form.module.css index 6af58d20..ab45d2f1 100644 --- a/src/components/reply-form/reply-form.module.css +++ b/src/components/reply-form/reply-form.module.css @@ -1,9 +1,11 @@ .mdContainer { - margin: 5px 0 10px 0px; font-size: small; padding: 0 1px; max-width: 500px; unicode-bidi: isolate; + margin-top: 5px; + margin-bottom: -9px; + padding-bottom: 10px; } .infobar { @@ -36,6 +38,7 @@ } .mdContainerReplying { + border-left: var(--reply-child-border-left); margin-left: 25px; } @@ -83,9 +86,10 @@ font-size: 12px; padding-bottom: 2px; padding-top: 2px; - clear: both; display: flex; gap: 10px; + margin-bottom: 0; + overflow: hidden; } .markdownHelp { diff --git a/src/components/reply-form/reply-form.tsx b/src/components/reply-form/reply-form.tsx index 423f3b54..a9316236 100644 --- a/src/components/reply-form/reply-form.tsx +++ b/src/components/reply-form/reply-form.tsx @@ -163,21 +163,23 @@ const ReplyForm = ({ cid, isReplyingToReply, hideReplyForm, subplebbitAddress, p
{isOffline && isTextareaFocused &&
{offlineTitle}
} -
- - {t('media_url')}: setPublishReplyOptions.link(e.target.value)} /> - - - - - - - -
+ {showOptions && ( +
+ + {t('media_url')}: setPublishReplyOptions.link(e.target.value)} /> + + + + + + + +
+ )} {!showPreview ? (