From f3f2006f1486f65f1a70dd1c36d7b85e1656a4b9 Mon Sep 17 00:00:00 2001 From: "Thomas \"ajnart\" Camlong" Date: Sat, 14 May 2022 11:40:05 +0200 Subject: [PATCH] :lipstick: Improving style --- src/components/AppShelf/AppShelf.tsx | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/src/components/AppShelf/AppShelf.tsx b/src/components/AppShelf/AppShelf.tsx index 4f8032cf4..805e88095 100644 --- a/src/components/AppShelf/AppShelf.tsx +++ b/src/components/AppShelf/AppShelf.tsx @@ -1,9 +1,8 @@ import React, { useState } from 'react'; import { motion } from 'framer-motion'; -import { Text, AspectRatio, SimpleGrid, Card, Center, Image, useMantineTheme } from '@mantine/core'; +import { Text, AspectRatio, SimpleGrid, Card, Image, useMantineTheme } from '@mantine/core'; import { useConfig } from '../../tools/state'; import { serviceItem } from '../../tools/types'; -import { AppShelfItemWrapper } from './AppShelfItemWrapper'; import AppShelfMenu from './AppShelfMenu'; const AppShelf = () => { @@ -14,7 +13,7 @@ const AppShelf = () => { cols={5} spacing="xl" breakpoints={[ - { maxWidth: 'xl', cols: 4, spacing: 'lg' }, + { maxWidth: 1400, cols: 4, spacing: 'lg' }, { maxWidth: 800, cols: 3, spacing: 'md' }, { maxWidth: 400, cols: 3, spacing: 'sm' }, { maxWidth: 400, cols: 2, spacing: 'sm' }, @@ -50,9 +49,9 @@ export function AppShelfItem(props: any) { radius="md" > - - {service.name} - + + {service.name} + - + { window.open(service.url); }}