File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
apps/website/src/pages/Blog Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import styled from 'styled-components';
33// 스타일 컴포넌트 (블로그랑 같지만, 다를 수 있으니께)
44// 요긴 대충 짜서 해결
55export const Card = styled . a < { $isMobile : boolean ; $isTablet : boolean ; } > `
6- width: ${ ( props ) => ( props . $isMobile ? '130px' : props . $isTablet ? '240px' : '270px ' ) } ;
7- height: ${ ( props ) => ( props . $isMobile ? '205px' : props . $isTablet ? '260px' : '302px ' ) } ;
6+ width: ${ ( props ) => ( props . $isMobile ? '130px' : props . $isTablet ? '240px' : '250px ' ) } ;
7+ height: ${ ( props ) => ( props . $isMobile ? '205px' : props . $isTablet ? '260px' : '279px ' ) } ;
88
99 border-radius: ${ ( props ) => ( props . $isMobile ? '10px' : '8px' ) } ;
1010 overflow: hidden;
@@ -22,7 +22,7 @@ export const Image = styled.div<{$isMobile: boolean; $isTablet: boolean;}>`
2222
2323 overflow: hidden;
2424 border-radius: 8px;
25- height: ${ ( props ) => ( props . $isMobile ? '87px' : props . $isTablet ? '150px' : '180px ' ) } ;
25+ height: ${ ( props ) => ( props . $isMobile ? '87px' : props . $isTablet ? '150px' : '167px ' ) } ;
2626 background-color: var(--FarmSystem_LightGrey);
2727
2828 display: flex;
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import styled from 'styled-components';
33// 스타일 컴포넌트 (블로그랑 같지만, 다를 수 있으니께)
44// 요긴 대충 짜서 해결
55export const Card = styled . div < { $isMobile : boolean ; $isTablet : boolean ; } > `
6- width: ${ ( props ) => ( props . $isMobile ? '130px' : props . $isTablet ? '240px' : '270px ' ) } ;
7- height: ${ ( props ) => ( props . $isMobile ? '205px' : props . $isTablet ? '260px' : '302px ' ) } ;
6+ width: ${ ( props ) => ( props . $isMobile ? '130px' : props . $isTablet ? '240px' : '250px ' ) } ;
7+ height: ${ ( props ) => ( props . $isMobile ? '205px' : props . $isTablet ? '260px' : '279px ' ) } ;
88
99 border-radius: ${ ( props ) => ( props . $isMobile ? '10px' : '8px' ) } ;
1010 overflow: hidden;
@@ -21,7 +21,7 @@ export const Image = styled.div<{$isMobile: boolean; $isTablet: boolean;}>`
2121
2222 overflow: hidden;
2323 border-radius: 8px;
24- height: ${ ( props ) => ( props . $isMobile ? '87px' : props . $isTablet ? '150px' : '180px ' ) } ;
24+ height: ${ ( props ) => ( props . $isMobile ? '87px' : props . $isTablet ? '150px' : '167px ' ) } ;
2525 background-color: var(--FarmSystem_LightGrey);
2626
2727 display: flex;
You can’t perform that action at this time.
0 commit comments