diff --git a/site/components/common/Room/ResourceCardContent/ImageCardContent.module.css b/site/components/common/Room/ResourceCardContent/ImageCardContent.module.css new file mode 100644 index 000000000..e69de29bb diff --git a/site/components/common/Room/ResourceCardContent/ImageCardContent.tsx b/site/components/common/Room/ResourceCardContent/ImageCardContent.tsx index eae3c5315..ddfe26757 100644 --- a/site/components/common/Room/ResourceCardContent/ImageCardContent.tsx +++ b/site/components/common/Room/ResourceCardContent/ImageCardContent.tsx @@ -1,4 +1,5 @@ import { Box, Stack, Image, Text } from "@chakra-ui/react"; +import "./ImageCardContent.module.css" import screenfull from "screenfull"; export default function ImageCardContent(props: { @@ -9,50 +10,30 @@ export default function ImageCardContent(props: { return ( <> - - - openFullScreen('resource-image')} - id='resource-image' - alt='' - src={props.resourcePath} /> - + + openFullScreen('resource-image')} + id='resource-image' + alt='' + src={props.resourcePath} /> + + + - - - - - {props.resourceCaption} - - - + + + {props.resourceCaption} + + + ) };