enlarge app icons

This commit is contained in:
PhilReact 2025-01-15 17:36:19 +02:00
parent 61d9a6fcd6
commit 7d96cfdded
5 changed files with 22 additions and 18 deletions

View File

@ -59,8 +59,8 @@ export const AppInfoSnippet = ({ app, myName, isFromCategory, parentStyles = {}
> >
<Avatar <Avatar
sx={{ sx={{
height: "31px", height: "42px",
width: "31px", width: "42px",
'& img': { '& img': {
objectFit: 'fill', objectFit: 'fill',
} }

View File

@ -94,13 +94,16 @@ import {
})); }));
export const AppCircleLabel = styled(Typography)(({ theme }) => ({ export const AppCircleLabel = styled(Typography)(({ theme }) => ({
fontSize: '12px', fontSize: '14px',
fontWeight: 500, fontWeight: 500,
lineHeight: 1.2, lineHeight: 1.2,
whiteSpace: 'nowrap', // whiteSpace: 'nowrap',
overflow: 'hidden', overflow: 'hidden',
textOverflow: 'ellipsis', textOverflow: 'ellipsis',
width: '100%' width: '120%',
'-webkit-line-clamp': '2',
'-webkit-box-orient': 'vertical',
'display': '-webkit-box'
})); }));
export const AppLibrarySubTitle = styled(Typography)(({ theme }) => ({ export const AppLibrarySubTitle = styled(Typography)(({ theme }) => ({
fontSize: '16px', fontSize: '16px',
@ -109,9 +112,9 @@ import {
})); }));
export const AppCircle = styled(Box)(({ theme }) => ({ export const AppCircle = styled(Box)(({ theme }) => ({
display: "flex", display: "flex",
width: "60px", width: "75px",
flexDirection: "column", flexDirection: "column",
height: "60px", height: "75px",
alignItems: 'center', alignItems: 'center',
justifyContent: 'center', justifyContent: 'center',
borderRadius: '50%', borderRadius: '50%',

View File

@ -116,7 +116,7 @@ export const AppsHomeDesktop = ({
<Spacer height="45px" /> <Spacer height="45px" />
<AppsContainer <AppsContainer
sx={{ sx={{
gap: "75px", gap: "50px",
justifyContent: "flex-start", justifyContent: "flex-start",
}} }}
> >

View File

@ -297,13 +297,15 @@ export const AppsLibraryDesktop = ({
Official Apps Official Apps
</AppLibrarySubTitle> </AppLibrarySubTitle>
<Spacer height="45px" /> <Spacer height="45px" />
<AppsContainer> <AppsContainer sx={{
gap: '50px',
justifyContent: 'flex-start'
}}>
{officialApps?.map((qapp) => { {officialApps?.map((qapp) => {
return ( return (
<ButtonBase <ButtonBase
sx={{ sx={{
height: "80px", width: "80px",
width: "60px",
}} }}
onClick={() => { onClick={() => {
// executeEvent("addTab", { // executeEvent("addTab", {
@ -326,8 +328,8 @@ export const AppsLibraryDesktop = ({
> >
<Avatar <Avatar
sx={{ sx={{
height: "31px", height: "42px",
width: "31px", width: "42px",
}} }}
alt={qapp?.name} alt={qapp?.name}
src={`${getBaseApiReact()}/arbitrary/THUMBNAIL/${ src={`${getBaseApiReact()}/arbitrary/THUMBNAIL/${

View File

@ -31,8 +31,7 @@ const SortableItem = ({ id, name, app, isDesktop }) => {
<ButtonBase <ButtonBase
ref={setNodeRef} {...attributes} {...listeners} ref={setNodeRef} {...attributes} {...listeners}
sx={{ sx={{
height: "80px", width: "80px",
width: "60px",
transform: CSS.Transform.toString(transform), transform: CSS.Transform.toString(transform),
transition, transition,
}} }}
@ -53,8 +52,8 @@ const SortableItem = ({ id, name, app, isDesktop }) => {
> >
<Avatar <Avatar
sx={{ sx={{
height: "31px", height: "42px",
width: "31px", width: "42px",
'& img': { '& img': {
objectFit: 'fill', objectFit: 'fill',
} }