Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 오늘의 리뷰 이미지 레이아웃 수정 #146

Merged
merged 1 commit into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { style } from '@vanilla-extract/css';

export const reviewImage = style({
width: '100%',
height: 'auto',
height: 90,
borderRadius: '6px',
objectFit: 'cover',
aspectRatio: '164 / 90',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ import { style } from '@vanilla-extract/css';

export const container = style({
display: 'flex',
justifyContent: 'space-between',
gap: 10,
padding: '0 20px',
overflowX: 'auto',
});

export const reviewItemWrapper = style({
minWidth: 164,
maxWidth: 164,
});

export const bottomSheetWrapper = style({
Expand Down
2 changes: 1 addition & 1 deletion src/mocks/data/reviewRankingList.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"productId": 1,
"productName": "구운감자슬림명란마요",
"content": "할머니가 먹을 거 같은 맛입니다. 1960년 전쟁 때 맛 보고 싶었는데 그때는 너무 가난해서 먹을 수 없었는데요 이것보다 긴 리뷰도 잘려 보인답니다",
"image": "",
"image": "https://image.funeat.site/prod/c02bbc38-d9d5-4217-9c18-7b28995a9344-0001.webp",
"categoryType": "food",
"rating": 4.5,
"tags": [
Expand Down
Loading