diff --git a/src/components/Plan/PlanEditItemBox.tsx b/src/components/Plan/PlanEditItemBox.tsx index ff85fb4..4823056 100644 --- a/src/components/Plan/PlanEditItemBox.tsx +++ b/src/components/Plan/PlanEditItemBox.tsx @@ -132,22 +132,24 @@ const PlanEditItemBox = ({ checked={selectedItemId === item.tripItemId}>
-
+
img -
+
{item.name.length > 17 ? item.name.slice(0, 17) + '...' : item.name}
-
- {item.category} +
+
+ {item.category} +
-
+
{item.price} 원
diff --git a/src/components/Plan/PlanItemBox.tsx b/src/components/Plan/PlanItemBox.tsx index 31a926b..a09fb8c 100644 --- a/src/components/Plan/PlanItemBox.tsx +++ b/src/components/Plan/PlanItemBox.tsx @@ -64,7 +64,7 @@ const PlanItemBox = ({ return ( <>
-
{day}
+
{day}
{item.map((item, index) => (
@@ -76,22 +76,24 @@ const PlanItemBox = ({
-
+
img -
+
{item.name.length > 19 ? item.name.slice(0, 19) + '...' : item.name}
-
- {item.category} +
+
+ {item.category} +
-
+
{item.price.toLocaleString()} 원 {tripAuthority == 'WRITE' && (