Skip to content

Commit

Permalink
fix: 미흡한 부분 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-yn committed Jun 2, 2024
1 parent 4d14956 commit bf0f250
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/Card/History/HistoryCard.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ export const wrapStyle = style([
padding: '1.5rem 0.875rem',
},
[ODSBreakpointTokenVariables['breakpoint-l']]: {
height: '7.75rem',
padding: '0.875rem 1.5rem',
},
[ODSBreakpointTokenVariables['breakpoint-s']]: {
height: 'auto',
gap: '0.25rem',
padding: '0.75rem',
borderRadius: '0.5rem',
Expand Down
6 changes: 6 additions & 0 deletions src/components/Card/Project/ProjectCard.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,23 @@ export const wrapVariants = styleVariants({

export const sizeStyle = style({
width: '25.5rem',
minWidth: '25.5rem',
height: '25rem',
minHeight: '25rem',

'@media': {
[ODSBreakpointTokenVariables['breakpoint-l']]: {
width: '22.5rem',
minWidth: '22.5rem',
height: '22.5rem',
minHeight: '22.5rem',
},

[ODSBreakpointTokenVariables['breakpoint-m']]: {
width: '17.5rem',
minWidth: '17.5rem',
height: '22.5rem',
minHeight: '22.5rem',
},
},
});
Expand Down
7 changes: 2 additions & 5 deletions src/components/NormalProject/NormalProject.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,7 @@ const NormalProject = ({ projectData, userAgent, userInfo }: Props) => {
value={{ isMouseInSection, projectData, userAgent, userInfo }}
>
<NormalProject.Wrap>
{projectData.length > 4 ? (
<NormalProject.Swiper />
) : (
<NormalProject.Content />
)}
<NormalProject.Swiper />
</NormalProject.Wrap>
</ContextValueNormalProject.Provider>
</ContextDispatchNormalProject.Provider>
Expand Down Expand Up @@ -225,6 +221,7 @@ const Swiper = () => {
<OceanSwiper.Main
hiddenNavigation
swiperKey={customEvents.SWIPER_KEY.NORMAL_PROJECT}
pagination={false}
>
{displayData.map((projects, idx1) => {
return (
Expand Down
4 changes: 4 additions & 0 deletions src/styles/global.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ globalStyle('html, body', {
maxWidth: '100vw',
});

globalStyle('body', {
overflowX: 'hidden',
});

globalStyle('button', {
border: 'none',
outline: 'none',
Expand Down

0 comments on commit bf0f250

Please sign in to comment.