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 문제 해결 (모달 깨지는 문제, 모임 만들기 인풋 자동 포커싱) #494

Merged
merged 3 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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 @@ -18,7 +18,7 @@ export default function DescriptionStep(props: DescriptionStepProps) {

useEffect(() => {
if (inputRef.current) {
inputRef.current.focus();
// inputRef.current.focus();
}
}, []);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function MaxPeopleStep(props: MaxPeopleStepProps) {

useEffect(() => {
if (inputRef.current) {
inputRef.current.focus();
// inputRef.current.focus();
}
}, []);

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/MoimCreationPage/Steps/PlaceStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function PlaceStep(props: PlaceStepProps) {

useEffect(() => {
if (inputRef.current) {
inputRef.current.focus();
// inputRef.current.focus();
}
}, []);
return (
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/MoimCreationPage/Steps/TitleStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function TitleStep(props: TitleProps) {

useEffect(() => {
if (inputRef.current) {
inputRef.current.focus();
// inputRef.current.focus();
}
}, []);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { DISPLAY_MAX_WIDTH } from '@_constants/styles';
import { css, Theme } from '@emotion/react';

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;
`;
Loading