From 164958654573b6df91759115447a16bdf4ff1973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sun, 1 Sep 2024 17:40:28 +0200 Subject: [PATCH] pl-fe: collapsed status gradient position improvement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/src/components/status-content.tsx | 2 +- .../pl-fe/src/features/auth-login/components/login-page.tsx | 1 - packages/pl-fe/src/features/delete-account/index.tsx | 1 - .../src/features/report/components/status-check-box.tsx | 1 - .../pl-fe/src/features/status/components/detailed-status.tsx | 1 - .../ui/components/modals/report-modal/report-modal.tsx | 5 +---- 6 files changed, 2 insertions(+), 9 deletions(-) diff --git a/packages/pl-fe/src/components/status-content.tsx b/packages/pl-fe/src/components/status-content.tsx index 385b6ebc0..deb5a17ec 100644 --- a/packages/pl-fe/src/components/status-content.tsx +++ b/packages/pl-fe/src/components/status-content.tsx @@ -35,7 +35,7 @@ interface IReadMoreButton { /** Button to expand a truncated status (due to too much content) */ const ReadMoreButton: React.FC = ({ onClick, quote }) => ( -
+
{ - ); diff --git a/packages/pl-fe/src/features/delete-account/index.tsx b/packages/pl-fe/src/features/delete-account/index.tsx index 3b366d1e7..b5c8957f7 100644 --- a/packages/pl-fe/src/features/delete-account/index.tsx +++ b/packages/pl-fe/src/features/delete-account/index.tsx @@ -70,7 +70,6 @@ const DeleteAccount = () => { - diff --git a/packages/pl-fe/src/features/report/components/status-check-box.tsx b/packages/pl-fe/src/features/report/components/status-check-box.tsx index 90c04c694..3c88333d2 100644 --- a/packages/pl-fe/src/features/report/components/status-check-box.tsx +++ b/packages/pl-fe/src/features/report/components/status-check-box.tsx @@ -73,7 +73,6 @@ const StatusCheckBox: React.FC = ({ id, disabled }) => { {media} -
diff --git a/packages/pl-fe/src/features/status/components/detailed-status.tsx b/packages/pl-fe/src/features/status/components/detailed-status.tsx index 48df75a99..968851657 100644 --- a/packages/pl-fe/src/features/status/components/detailed-status.tsx +++ b/packages/pl-fe/src/features/status/components/detailed-status.tsx @@ -172,7 +172,6 @@ const DetailedStatus: React.FC = ({ -
diff --git a/packages/pl-fe/src/features/ui/components/modals/report-modal/report-modal.tsx b/packages/pl-fe/src/features/ui/components/modals/report-modal/report-modal.tsx index fe03948bd..2a296480f 100644 --- a/packages/pl-fe/src/features/ui/components/modals/report-modal/report-modal.tsx +++ b/packages/pl-fe/src/features/ui/components/modals/report-modal/report-modal.tsx @@ -55,10 +55,7 @@ const SelectedStatus = ({ statusId }: { statusId: string }) => { hideActions /> - + {status.media_attachments.length > 0 && (