Skip to content

Commit

Permalink
Merge pull request #497 from woowacourse-teams/develop-frontend
Browse files Browse the repository at this point in the history
Develop frontend
  • Loading branch information
cys4585 authored Aug 23, 2024
2 parents f8d8b8c + 02a03f9 commit 2431797
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions frontend/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

<meta name="apple-mobile-web-app-title" content="모우다" />
<meta property="al:android:app_name" content="모우다" />
<meta http-equiv="Cache-Control" content="no-cache" />
</head>
<body>
<div id="root"></div>
Expand Down
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;
`;

0 comments on commit 2431797

Please sign in to comment.