From 7d96cfddedb633c37a1e83c7bf88ddb0e316a797 Mon Sep 17 00:00:00 2001 From: PhilReact Date: Wed, 15 Jan 2025 17:36:19 +0200 Subject: [PATCH] enlarge app icons --- src/components/Apps/AppInfoSnippet.tsx | 4 ++-- src/components/Apps/Apps-styles.tsx | 15 +++++++++------ src/components/Apps/AppsHomeDesktop.tsx | 2 +- src/components/Apps/AppsLibraryDesktop.tsx | 12 +++++++----- src/components/Apps/SortablePinnedApps.tsx | 7 +++---- 5 files changed, 22 insertions(+), 18 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 +112,9 @@ import { })); export const AppCircle = styled(Box)(({ theme }) => ({ display: "flex", - width: "60px", - flexDirection: "column", - height: "60px", + width: "75px", + flexDirection: "column", + height: "75px", alignItems: 'center', justifyContent: 'center', borderRadius: '50%', diff --git a/src/components/Apps/AppsHomeDesktop.tsx b/src/components/Apps/AppsHomeDesktop.tsx index 3edbbb4..8fe2663 100644 --- a/src/components/Apps/AppsHomeDesktop.tsx +++ b/src/components/Apps/AppsHomeDesktop.tsx @@ -116,7 +116,7 @@ export const AppsHomeDesktop = ({ diff --git a/src/components/Apps/AppsLibraryDesktop.tsx b/src/components/Apps/AppsLibraryDesktop.tsx index 7c084c2..71f823e 100644 --- a/src/components/Apps/AppsLibraryDesktop.tsx +++ b/src/components/Apps/AppsLibraryDesktop.tsx @@ -297,13 +297,15 @@ export const AppsLibraryDesktop = ({ Official Apps - + {officialApps?.map((qapp) => { return ( { // executeEvent("addTab", { @@ -326,8 +328,8 @@ export const AppsLibraryDesktop = ({ > { { >