Skip to content

Commit

Permalink
[DESIGN] 인터뷰 검색 반응형 적용 #30
Browse files Browse the repository at this point in the history
  • Loading branch information
moondrop0816 committed Aug 2, 2023
1 parent e3a6245 commit 8df0931
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/Interview/MessageItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ const StyledMessageItem = (theme: Theme) =>
},
'.content-wrap': {
width: '100%',
gap: '1rem',
'>div': {
p: {
width: 'calc(100% - 2.5rem)',
Expand All @@ -116,9 +117,8 @@ const StyledMessageItem = (theme: Theme) =>
'&.user': {
flexDirection: 'column',
alignSelf: 'flex-end',
'> div': {
'> .icon': {
alignSelf: 'flex-end',
textAlign: 'right',
},
},
},
Expand Down
17 changes: 15 additions & 2 deletions src/pages/InterviewSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { getSearchList } from '../utils/Interview/interviewListFn';
import { Theme, useTheme, css } from '@emotion/react';
import { faFolderOpen } from '@fortawesome/free-regular-svg-icons';
import axios from 'axios';
import { mq } from '../theme';

const StyledInterviewSearch = (theme: Theme) =>
css({
Expand All @@ -20,7 +21,7 @@ const StyledInterviewSearch = (theme: Theme) =>
borderBottom: `1px solid ${theme.gray2}`,
paddingBottom: '3rem',
marginBottom: '3rem',
gap: '25rem',
flexWrap: 'wrap',
},
h3: {
marginBottom: '0.5rem',
Expand All @@ -34,7 +35,7 @@ const StyledInterviewSearch = (theme: Theme) =>
width: '50%',

input: {
width: '64%',
flex: '1 1 50%',
},
},

Expand All @@ -56,6 +57,18 @@ const StyledInterviewSearch = (theme: Theme) =>
},
},
},

[mq[0]]: {
'.subtit': {
flexDirection: 'column',
justifyContent: 'stretch',
alignItems: 'stretch',
gap: '2rem',
'> div': {
width: '100%',
},
},
},
});

interface SearchDataTypes {
Expand Down

0 comments on commit 8df0931

Please sign in to comment.