From 1c61e76c9f54aa297c7742882e01032204fc9234 Mon Sep 17 00:00:00 2001 From: Nevo David Date: Fri, 26 Dec 2025 17:44:10 +0700 Subject: [PATCH] fix: better block view --- .../src/components/launches/information.component.tsx | 4 ++-- apps/frontend/src/components/new-launch/editor.tsx | 5 +++-- .../new-launch/providers/instagram/instagram.preview.tsx | 0 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 apps/frontend/src/components/new-launch/providers/instagram/instagram.preview.tsx diff --git a/apps/frontend/src/components/launches/information.component.tsx b/apps/frontend/src/components/launches/information.component.tsx index dfcf6d8a..07b50e5e 100644 --- a/apps/frontend/src/components/launches/information.component.tsx +++ b/apps/frontend/src/components/launches/information.component.tsx @@ -116,13 +116,13 @@ export const InformationComponent: FC<{ {isValid ? : } {!isGlobal && ( -
+
{totalChars}/{totalAllowedChars}
)} {((isGlobal && selectedIntegrations.length) || !isValid) && ( @@ -399,7 +399,8 @@ export const EditorWrapper: FC<{ 'relative flex flex-col gap-[20px] flex-1 bg-newSettings', index === 0 && 'rounded-t-[12px]', index === items.length - 1 && 'rounded-b-[12px]', - !canEdit && !isCreateSet && 'blur-s' + !canEdit && !isCreateSet && 'blur-s', + !canEdit && index > 0 && 'hidden' )} >
diff --git a/apps/frontend/src/components/new-launch/providers/instagram/instagram.preview.tsx b/apps/frontend/src/components/new-launch/providers/instagram/instagram.preview.tsx new file mode 100644 index 00000000..e69de29b