From 94c75bb23e4275770c1bec14037613b5519cba01 Mon Sep 17 00:00:00 2001 From: PhilReact Date: Wed, 15 Jan 2025 17:36:10 +0200 Subject: [PATCH] enlarge app icons --- src/components/Apps/AppInfoSnippet.tsx | 4 ++-- src/components/Apps/Apps-styles.tsx | 14 +++++++++----- src/components/Apps/AppsHomeDesktop.tsx | 2 +- src/components/Apps/AppsLibraryDesktop.tsx | 13 ++++++++----- src/components/Apps/SortablePinnedApps.tsx | 7 +++---- 5 files changed, 23 insertions(+), 17 deletions(-) diff --git a/src/components/Apps/AppInfoSnippet.tsx b/src/components/Apps/AppInfoSnippet.tsx index f141222..4870474 100644 --- a/src/components/Apps/AppInfoSnippet.tsx +++ b/src/components/Apps/AppInfoSnippet.tsx @@ -59,8 +59,8 @@ export const AppInfoSnippet = ({ app, myName, isFromCategory, parentStyles = {} > ({ - fontSize: '12px', + fontSize: '14px', fontWeight: 500, lineHeight: 1.2, - whiteSpace: 'nowrap', + // whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', - width: '100%' + width: '120%', + '-webkit-line-clamp': '2', + '-webkit-box-orient': 'vertical', + 'display': '-webkit-box', + })); export const AppLibrarySubTitle = styled(Typography)(({ theme }) => ({ fontSize: '16px', @@ -109,9 +113,9 @@ import { })); export const AppCircle = styled(Box)(({ theme }) => ({ display: "flex", - width: "60px", + width: "75px", flexDirection: "column", - height: "60px", + height: "75px", alignItems: 'center', justifyContent: 'center', borderRadius: '50%', diff --git a/src/components/Apps/AppsHomeDesktop.tsx b/src/components/Apps/AppsHomeDesktop.tsx index 8856a34..7c548d1 100644 --- a/src/components/Apps/AppsHomeDesktop.tsx +++ b/src/components/Apps/AppsHomeDesktop.tsx @@ -115,7 +115,7 @@ export const AppsHomeDesktop = ({ diff --git a/src/components/Apps/AppsLibraryDesktop.tsx b/src/components/Apps/AppsLibraryDesktop.tsx index f64b666..8da2e28 100644 --- a/src/components/Apps/AppsLibraryDesktop.tsx +++ b/src/components/Apps/AppsLibraryDesktop.tsx @@ -298,13 +298,16 @@ export const AppsLibraryDesktop = ({ Official Apps - + {officialApps?.map((qapp) => { return ( { // executeEvent("addTab", { @@ -327,8 +330,8 @@ export const AppsLibraryDesktop = ({ > { { >