@@ -112,6 +112,18 @@ const styles = {
height: "calc(100vh - 4.8rem)",
padding: "0 4rem",
}),
+ imageContainer: css({
+ width: "100%",
+ paddingTop: "101.01%",
+ position: "relative",
+ }),
+ image: css({
+ position: "absolute",
+ top: 0,
+ left: 0,
+ width: "100%",
+ height: "auto",
+ }),
buttonContainer: css({
width: "100%",
}),
diff --git a/src/pages/TteokgukCookingPage.tsx b/src/pages/TteokgukCookingPage.tsx
index faa33133..6060beae 100644
--- a/src/pages/TteokgukCookingPage.tsx
+++ b/src/pages/TteokgukCookingPage.tsx
@@ -87,7 +87,7 @@ const TteokgukCookingPage = () => {
-
+
@@ -159,9 +159,14 @@ const styles = {
paddingX: "2.4rem",
paddingBottom: "2rem",
}),
+ imageContainer: css({
+ minHeight: "11.6rem",
+ maxHeight: "11.6rem",
+ objectFit: "contain",
+ }),
image: css({
- height: "8.4rem",
- border: "0.1rem solid",
+ height: "100%",
+ width: "auto",
}),
titleContainer: css({
display: "flex",