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

[FE] carousel 에 maxWidth가 적용되지 않아 768 이상 해상도에서 짤리는 문제 #801

Merged
merged 2 commits into from
Oct 24, 2024
Merged
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 @@ -44,6 +44,7 @@ export const imageCardStyle = ({theme}: ImageCardStyleProps) => css`
justify-content: center;
align-items: center;
clip-path: inset(0 round 1rem);
max-width: calc(768px - 4rem);
background-color: ${theme.colors.gray};
`;

Expand All @@ -59,7 +60,7 @@ export const deleteButtonStyle = css`
right: 1rem;
padding: 0.5rem;
opacity: 0.48;
background-color: rgba(0, 0, 0, 0.5);
background-color: rgba(0, 0, 0, 0.8);
border-radius: 50%;
display: flex;
justify-content: center;
Expand All @@ -69,7 +70,7 @@ export const deleteButtonStyle = css`
export const indicatorContainerStyle = css`
position: absolute;
left: 50%;
bottom: 1rem;
top: 1rem;
transform: translateX(-50%);
display: flex;
gap: 0.25rem;
Expand Down
Loading