From 7e3c97c4a793315e4d37deb6ad8edffcd7b8e480 Mon Sep 17 00:00:00 2001 From: Nicola Benaglia Date: Sat, 17 May 2025 15:19:10 +0200 Subject: [PATCH] Refactor --- src/components/Embeds/Embed-styles.tsx | 32 +++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/components/Embeds/Embed-styles.tsx b/src/components/Embeds/Embed-styles.tsx index b0b5482..fa20b36 100644 --- a/src/components/Embeds/Embed-styles.tsx +++ b/src/components/Embeds/Embed-styles.tsx @@ -1,18 +1,18 @@ -import { Box, Typography, styled } from "@mui/material"; +import { Box, Typography, styled } from '@mui/material'; export const FileAttachmentContainer = styled(Box)(({ theme }) => ({ - display: "flex", - alignItems: "center", - padding: "5px 10px", - border: `1px solid ${theme.palette.text.primary}`, - width: "100%", - gap: '20px' - })); - - export const FileAttachmentFont = styled(Typography)(({ theme }) => ({ - fontSize: "20px", - letterSpacing: 0, - fontWeight: 400, - userSelect: "none", - whiteSpace: "nowrap", - })); \ No newline at end of file + alignItems: 'center', + border: `1px solid ${theme.palette.text.primary}`, + display: 'flex', + gap: '20px', + padding: '5px 10px', + width: '100%', +})); + +export const FileAttachmentFont = styled(Typography)(({ theme }) => ({ + fontSize: '20px', + fontWeight: 400, + letterSpacing: 0, + userSelect: 'none', + whiteSpace: 'nowrap', +}));