Skip to content

Commit

Permalink
Merge pull request #9 from leon-dunamu/feature/refactor-main-notice
Browse files Browse the repository at this point in the history
style: 메인/공지사항 글자크기 조정
  • Loading branch information
leon-dunamu authored Sep 17, 2021
2 parents e9a9c90 + c56753b commit 49d15ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pages/main/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Feed from '@views/Main/Feed';
import Hot from '@views/Main/Hot';
import Club from '@views/Main/Club';
import Notice from '@views/Main/Notice';
import Advertise from '@views/Main/Advertise';
// import Advertise from '@views/Main/Advertise';
import Shortcut from '@views/Main/Shortcut';
import { useToken } from '@context/Token';
import { fetchNotifications } from '@api/api-notifications';
Expand Down Expand Up @@ -57,7 +57,7 @@ const MainPage = () => {

<Notice />
<Hot />
<Advertise />
{/* <Advertise /> */}
<Club />
<Shortcut />
</>
Expand Down
4 changes: 3 additions & 1 deletion src/views/Main/Notice/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const NoticeThumbnail = styled.div`
export const NoticeBody = styled.div`
display: inline-block;
flex-grow: 1;
height: 48px;
height: 40px;
border: 1px solid ${color.main};
border-radius: ${box.borderRadius};
border-top-left-radius: 0;
Expand All @@ -42,10 +42,12 @@ export const NoticeBody = styled.div`

export const Title = styled.h3`
font-weight: 600;
font-size: 16px;
`;

export const Content = styled.p`
font-weight: 400;
font-size: 13px;
width: calc(100% - 32px);
${textOverflowHiddenStyle};
`;
Expand Down

0 comments on commit 49d15ed

Please sign in to comment.