hide text on laptop wide screen

This commit is contained in:
Yana
2024-10-29 17:30:59 +02:00
committed by mfahampshire
parent 9695ce89a6
commit c06d52f2d7
+12 -4
View File
@@ -107,10 +107,18 @@ export const LandingPage = () => {
<Typography variant="h5" sx={{ fontWeight: 600 }}>
{square.text}
</Typography>
<Typography variant="body1" sx={{ color: "#909195" }}>
{isTablet && !isDesktop
? shortenDescription(square.description)
: square.description}
<Typography
variant="body1"
sx={{
color: "#909195",
display: {
lg: "none",
xl: "block",
},
}}
>
{square.description}
</Typography>
<Typography sx={{ color: "#ff6600", fontWeight: 600 }}>