From fe8d87a5360c68012894a17e6fea9e11cd543064 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Sat, 13 Jul 2024 03:05:58 +0200 Subject: [PATCH] Fix ExtensionCard on smaller screens Due to the long repo urls which did not get broking down, the install/uninstall/... weren't visible depending on the screen size --- src/components/ExtensionCard.tsx | 78 +++++++++++++++++--------------- 1 file changed, 41 insertions(+), 37 deletions(-) diff --git a/src/components/ExtensionCard.tsx b/src/components/ExtensionCard.tsx index 955eda68..54e67b89 100644 --- a/src/components/ExtensionCard.tsx +++ b/src/components/ExtensionCard.tsx @@ -156,56 +156,60 @@ export function ExtensionCard(props: IProps) { - - + - - - - - {name} - - - {langPress} {versionName} - {isNsfw && ( - - {' 18+'} - - )} - - {showSourceRepo && ( - - {repo} + src={requestManager.getValidImgUrlFor(iconUrl)} + /> + + + + {name} + + + {langPress} {versionName} + {isNsfw && ( + + {' 18+'} )} - + + {showSourceRepo && ( + + {repo} + + )} -