@@ -7,7 +7,7 @@ export const Container = styled.div({
77export const ApplicantInfoCategoryList = styled . div < { hasInterview : boolean } > `
88 display: grid;
99 grid-template-columns: ${ ( { hasInterview } ) =>
10- hasInterview ? '1fr 1fr 1fr 1.2fr 1.5fr 1fr 1.2fr' : '1fr 1fr 1fr 1.2fr 1.5fr 1fr' } ;
10+ '1fr 1fr 1fr 1.2fr 1.5fr 1fr' + ( hasInterview ? ' 1.2fr' : '' ) } ;
1111 background-color: #f9fbfc;
1212 border-bottom: 1.8px solid ${ ( { theme } ) => theme . colors . gray100 } ;
1313 padding: 1.7rem 0 1.5rem 0;
@@ -18,7 +18,7 @@ export const ApplicantInfoCategoryList = styled.div<{ hasInterview: boolean }>`
1818
1919 @media (max-width: 1200px) {
2020 grid-template-columns: ${ ( { hasInterview } ) =>
21- hasInterview ? '1fr 1fr 1fr 1.5fr 1fr 1.2fr' : '1fr 1fr 1fr 1.5fr 1fr' } ;
21+ '1fr 1fr 1fr 1.5fr 1fr' + ( hasInterview ? ' 1.2fr' : '' ) } ;
2222
2323 & > div:nth-of-type(4) {
2424 display: none;
@@ -27,16 +27,15 @@ export const ApplicantInfoCategoryList = styled.div<{ hasInterview: boolean }>`
2727
2828 @media (max-width: ${ ( { theme } ) => theme . breakpoints . web } ) {
2929 grid-template-columns: ${ ( { hasInterview } ) =>
30- hasInterview ? '1fr 1fr 1.5fr 1fr 1.2fr' : '1fr 1fr 1.5fr 1fr' } ;
30+ '1fr 1fr 1.5fr 1fr' + ( hasInterview ? ' 1.2fr' : '' ) }
3131
3232 & > div:nth-of-type(3) {
3333 display: none;
3434 }
3535 }
3636
3737 @media (max-width: 768px) {
38- grid-template-columns: ${ ( { hasInterview } ) =>
39- hasInterview ? '1fr 1.5fr 1fr 1.2fr' : '1fr 1.5fr 1fr' } ;
38+ grid-template-columns: ${ ( { hasInterview } ) => '1fr 1.5fr 1fr' + ( hasInterview ? '1.2fr' : '' ) } ;
4039
4140 & > div:nth-of-type(2) {
4241 display: none;
0 commit comments