Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

design: 제출 전 전반적인 디자인 검토 #47

Merged
merged 5 commits into from
Jun 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/components/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ export default Header;

const Basic = styled.div`
width: 100%;
height: 68px;
font-size: 20px;
height: 40px;
font-size: 18px;
color: ${theme.colors.main};
${theme.center};
padding-top: 10px;
`;

const ShadowWrapper = styled(Basic)`
Expand Down
6 changes: 5 additions & 1 deletion src/components/question/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ export default Question;

const Wrapper = styled.div`
${theme.shadows.small};
width: 80%;
width: 75%;
border-radius: 8px;
padding: 16px 24px;
word-break: keep-all;
line-height: 160%;
cursor: pointer;
&:hover {
transform: scale(1.1);
transition: all 0.3s ease;
}
`;
3 changes: 2 additions & 1 deletion src/components/select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const SelectBox = styled.div<{ width: string }>`
&::before {
content: '⌵';
position: absolute;
top: 5px;
top: 10px;
right: 8px;
color: ${theme.colors.main};
font-size: 20px;
Expand All @@ -59,6 +59,7 @@ const Label = styled.label`
font-size: 14px;
margin-left: 4px;
text-align: center;
cursor: pointer;
`;
const SelectOptions = styled.ul<{ show: 'true' | undefined }>`
position: absolute;
Expand Down
6 changes: 3 additions & 3 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ const Main = () => {
<Container>
<InputWrapper>
<Input
placeholder="언어 / 프레임워크"
placeholder="기술스택을 입력해주세요."
onChange={onChangeHandler.techStack}
maxLength={27}
maxLength={50}
/>
<span>를 사용하는</span>
</InputWrapper>
Expand Down Expand Up @@ -109,7 +109,7 @@ const Wrapper = styled.div`
`;

const Container = styled.div`
width: 80%;
width: 85%;
height: 100%;
${theme.center};
gap: 100px;
Expand Down
4 changes: 2 additions & 2 deletions src/pages/interview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const Interview = ({ question }: Props) => {
const handleScroll = () => {
if (ref && ref.scrollHeight - ref.scrollTop <= ref.clientHeight) {
// 스크롤이 다 내려갔을 때
ref.style.boxShadow = 'none';
ref.style.boxShadow = '0px -8px 10px -10px black';
} else {
// 스크롤이 다 내려가지 않았을 때
ref!.style.boxShadow = '0px 8px 10px -10px black';
Expand Down Expand Up @@ -171,7 +171,7 @@ export default Interview;

const Wrapper = styled.div`
width: 100%;
height: calc(100vh - 68px);
height: calc(100vh - 50px);
background-color: ${theme.colors.main};
${theme.center};
gap: 40px;
Expand Down