diff --git a/src/components/ItemCard.tsx b/src/components/ItemCard.tsx
index 34b70ec..1cbadb2 100644
--- a/src/components/ItemCard.tsx
+++ b/src/components/ItemCard.tsx
@@ -55,12 +55,11 @@ const ItemCard = ({banner, bannerBlur, title, description, links, location}: Ite
className="col-span-12 sm:col-span-9 lg:col-span-8 max-h-full overflow-hidden drop-shadow-2xl pb-2 md:p-1 pl-2">
{title}
-
{
e.stopPropagation();
navigate();
- }}
- style={{hyphens: "auto"}}>
+ }}>
{description}
diff --git a/src/styles/globals.scss b/src/styles/globals.scss
index 6834e7e..89b0842 100644
--- a/src/styles/globals.scss
+++ b/src/styles/globals.scss
@@ -59,4 +59,11 @@ html, body {
height: 75%;
@apply transition-transform drop-shadow-md hover:scale-[120%] opacity-80 hover:opacity-100 text-white m-auto aspect-square;
}
+}
+
+.description {
+ hyphens: auto;
+ @screen md {
+ hyphens: none;
+ }
}
\ No newline at end of file