From d9e0c90e76d80aef0c67318e00e997804805f46e Mon Sep 17 00:00:00 2001 From: sct Date: Tue, 12 Jan 2021 12:25:57 +0000 Subject: [PATCH] fix(frontend): fix button styling on details page on small screen sizes --- .../Common/ButtonWithDropdown/index.tsx | 2 +- src/components/MovieDetails/index.tsx | 27 +++++++++------ .../RequestButton/index.tsx | 33 ++++--------------- src/components/TvDetails/index.tsx | 31 ++++++++++------- 4 files changed, 44 insertions(+), 49 deletions(-) rename src/components/{MovieDetails => }/RequestButton/index.tsx (93%) diff --git a/src/components/Common/ButtonWithDropdown/index.tsx b/src/components/Common/ButtonWithDropdown/index.tsx index 0165d5ae7..12c032c3c 100644 --- a/src/components/Common/ButtonWithDropdown/index.tsx +++ b/src/components/Common/ButtonWithDropdown/index.tsx @@ -54,7 +54,7 @@ const ButtonWithDropdown: React.FC = ({ {children && ( )} - revalidate()} - /> +
+ revalidate()} + /> +
{hasPermission(Permission.MANAGE_REQUESTS) && ( )} - revalidate()} - tmdbId={data?.id} - media={data?.mediaInfo} - isShowComplete={isComplete} - is4kShowComplete={is4kComplete} - /> +
+ revalidate()} + tmdbId={data?.id} + media={data?.mediaInfo} + isShowComplete={isComplete} + is4kShowComplete={is4kComplete} + /> +
{hasPermission(Permission.MANAGE_REQUESTS) && (