From ffa90a16144dc8fc5881dae22c78f573dcb8ea20 Mon Sep 17 00:00:00 2001 From: Silberengel Date: Sun, 31 May 2026 11:38:44 +0200 Subject: [PATCH] fix tabs --- src/components/PostEditor/PostContent.tsx | 18 +++++++++++------- .../PostEditor/PostTextarea/index.tsx | 8 ++++---- src/constants.ts | 4 +--- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/src/components/PostEditor/PostContent.tsx b/src/components/PostEditor/PostContent.tsx index 9c8cd33a..2578cc9e 100644 --- a/src/components/PostEditor/PostContent.tsx +++ b/src/components/PostEditor/PostContent.tsx @@ -3081,17 +3081,17 @@ export default function PostContent({ isMediaNoteComposerMode ? t('Media Note') : t('Short Note') return ( -
+
@@ -3101,7 +3101,7 @@ export default function PostContent({ type="button" variant="outline" size="sm" - className="h-8 gap-1.5 text-sm font-normal shrink-0" + className="h-8 w-8 shrink-0 p-0" disabled={!canUseMediaKindFromUrlButton} title={ canUseMediaKindFromUrlButton @@ -3111,13 +3111,17 @@ export default function PostContent({ onClick={handleUseMediaNoteKindFromUrl} > - {t('Media kind')} + {t('Media kind')} - diff --git a/src/components/PostEditor/PostTextarea/index.tsx b/src/components/PostEditor/PostTextarea/index.tsx index 687d6767..62603e4e 100644 --- a/src/components/PostEditor/PostTextarea/index.tsx +++ b/src/components/PostEditor/PostTextarea/index.tsx @@ -272,8 +272,8 @@ const PostTextarea = forwardRef< return ( -
- +
+ {t('Edit')} @@ -281,11 +281,11 @@ const PostTextarea = forwardRef< {t('Preview')} - {headerActions && ( + {headerActions ? (
{headerActions}
- )} + ) : null}