-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
desktop 환경에서의 max width 적용 및 상수화
- Loading branch information
Showing
5 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const DISPLAY_MAX_WIDTH = '60rem'; |
3 changes: 3 additions & 0 deletions
3
frontend/src/layouts/FormLayout/FormBottomWrapper/FormBottomWrapper.style.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
import { DISPLAY_MAX_WIDTH } from '@_constants/styles'; | ||
import { css } from '@emotion/react'; | ||
|
||
// TODO: 바텀 버튼 UI에 대한 기획 논의 필요 | ||
export const bottomFixedStyle = css` | ||
position: fixed; | ||
bottom: 26px; | ||
width: 100%; | ||
max-width: ${DISPLAY_MAX_WIDTH}; | ||
padding: 0 16px; | ||
`; |
9 changes: 8 additions & 1 deletion
9
frontend/src/layouts/HomeLayout.tsx/HomeFixedButtonWrapper/HomeFixedButtonWrapper.style.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
import { DISPLAY_MAX_WIDTH } from '@_constants/styles'; | ||
import { css } from '@emotion/react'; | ||
|
||
export const fixedWrapperStyle = css` | ||
position: fixed; | ||
right: 22px; | ||
bottom: 26px; | ||
display: flex; | ||
justify-content: right; | ||
width: 100%; | ||
max-width: ${DISPLAY_MAX_WIDTH}; | ||
padding-right: 4rem; | ||
`; |
3 changes: 3 additions & 0 deletions
3
.../src/layouts/InformationLayout/InformationBottomWrapper/InformationBottomWrapper.style.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
import { DISPLAY_MAX_WIDTH } from '@_constants/styles'; | ||
import { css } from '@emotion/react'; | ||
|
||
// TODO: 바텀 버튼 UI에 대한 기획 논의 필요 | ||
export const bottomFixedStyle = css` | ||
position: fixed; | ||
bottom: 26px; | ||
width: 100%; | ||
max-width: ${DISPLAY_MAX_WIDTH}; | ||
padding: 0 16px; | ||
`; |