1 ? '-ml-4 sm:-ml-6' : ''
+ 'embla__container -ml-4 items-center sm:-ml-10',
+ medias.length === 1 && ' justify-center'
)}
>
{medias?.map((media, index) => (
1 ? 'flex-[0_0_80%] pl-4 sm:pl-6' : 'flex-1',
+ 'embla__slide flex-[0_0_60%] pl-4 sm:pl-10',
index === currSlider ? 'h-[80vh]' : 'h-[40vh]'
)}
key={index}
diff --git a/client/src/components/ui/dialog.tsx b/client/src/components/ui/dialog.tsx
index 5294cbf..d2e61ec 100644
--- a/client/src/components/ui/dialog.tsx
+++ b/client/src/components/ui/dialog.tsx
@@ -23,7 +23,7 @@ const DialogOverlay = React.forwardRef<
{children}
-
-
+
+
Close
diff --git a/client/src/components/ui/rich-text.tsx b/client/src/components/ui/rich-text.tsx
index 6fff444..0946fce 100644
--- a/client/src/components/ui/rich-text.tsx
+++ b/client/src/components/ui/rich-text.tsx
@@ -28,6 +28,11 @@ const RichText = ({ children, className }: RichTextProps) => {
{props.children}
),
+ li: ({ node, ...props }) => (
+
+ {props.children}
+
+ ),
img: ({ node, ...props }) => (
{
),
video: ({ node, ...props }) => {
return (
-
-
{!!storiesLength && `${storiesLength} stories`}
+
+ {`${storiesLength} featured ${storiesLength === 1 ? 'story' : 'stories'}`}
+