Skip to content

Commit

Permalink
design/ max-width 수정 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssuminii committed Sep 21, 2024
1 parent fd212a1 commit a4f1f52
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/components/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const SwiperContainer = styled.div`
background-color: ${colors.mainGray};
border-radius: 10px;
box-shadow: 0px 5px 5px -3px rgba(255, 255, 255, 0.5);
padding-top: 16px;
.swiper-pagination {
bottom: 10px !important;
Expand Down
8 changes: 4 additions & 4 deletions src/components/BestContents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ const BestContents = () => {
}

const Container = styled.div`
width: 344px;
height: 181px;
width: 280px;
height: 160px;
background-color: ${colors.mainGray};
border-radius: 10px;
box-shadow: 0px 5px 5px -3px rgba(255, 255, 255, 0.5);
Expand All @@ -60,7 +60,7 @@ const Container = styled.div`
.title {
color: ${colors.primaryBlue};
font-size: ${fontSize.xl};
font-size: ${fontSize.lg};
font-weight: ${fontWeight.semiBold};
margin-bottom: 22px;
}
Expand All @@ -69,7 +69,7 @@ const Ranking = styled.div`
.list-container {
display: flex;
justify-content: space-between;
font-size: ${fontSize.lg};
font-size: ${fontSize.sm};
font-weight: ${fontWeight.semiBold};
margin-bottom: 18px;
Expand Down
7 changes: 4 additions & 3 deletions src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const Container = styled.div`
width: 100%;
height: 100%;
background-color: ${colors.bgBlack};
max-width: 1280px;
max-width: 1080px;
margin: 20px auto;
`
const ContentContainer = styled.div`
Expand All @@ -137,8 +137,9 @@ const PostContainer = styled.div`
border-right: 1px solid ${colors.white};
.newest-posts {
max-height: 800px;
overflow-y: scroll;
padding-right: 60px;
max-height: 80%;
overflow-y: auto;
}
.menu {
Expand Down
1 change: 1 addition & 0 deletions src/styles/GlobalStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ const GlobalStyles = () => (
height: 100%;
width: 100%;
overflow-y: auto;
background-color: ${colors.bgBlack};
}
`}
/>
Expand Down

0 comments on commit a4f1f52

Please sign in to comment.