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

알림 허욜 모달 UI 문제 해결 (임시방편) #489

Merged
merged 2 commits into from
Aug 23, 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
6 changes: 5 additions & 1 deletion frontend/src/pages/MainPage/MainPage.style.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { DISPLAY_MAX_WIDTH } from '@_constants/styles';
import { css, Theme } from '@emotion/react';

export const headerButton = css`
Expand All @@ -14,5 +15,8 @@ export const headerLeft = css`

export const ModalContent = (props: { theme: Theme }) => css`
${props.theme.typography.s1}
margin: 5rem;
width: 100vw;
max-width: calc(${DISPLAY_MAX_WIDTH} * 0.8);
margin-bottom: 4rem;
padding-right: 60px;
`;
3 changes: 2 additions & 1 deletion frontend/src/pages/MainPage/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ export default function MainPage() {
<Modal onClose={handleModalClose}>
<div css={S.ModalContent({ theme })}>
알림을 허용하시면 모임에 대한 알림을 받을 수 있습니다.
<br /> 우측 상단에 알림 버튼을 눌러주세요
<br />
우측 상단의 알림 버튼을 눌러주세요.
</div>
<Button shape="bar" onClick={handleModalClose}>
닫기
Expand Down
Loading