Skip to content

Commit

Permalink
Merge pull request #130 from 2024WISCOM/feature/guestbook
Browse files Browse the repository at this point in the history
💄 GuestBook UI update
  • Loading branch information
nadomola authored Oct 26, 2024
2 parents 3a8a382 + 6bfc739 commit daf0f50
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions src/components/guestBook/MessageInputSection.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,30 @@ export const Container = styled.div`
justify-content: space-between;
align-items: flex-start;
width: 100%;
height:85vh;
color: white;
margin: 0 auto;
padding: 0 10%;
position: relative;
height:90vh;
@media (max-width: 768px) {
width: 100%;
flex-direction: column;
align-items: center;
padding: 0 2%;
height:50%;
height:0%;
}
@media (min-width: 769px) and (max-width: 1024px) {
@media (min-width: 769px) and (max-width: 1237px) {
width:100%;
padding: 0 10%;
height:105vh;
}
min-height: 110vh;
@media (min-width: 1025px) and (max-width: 1236px) {
height:80vh;
}
`;

Expand Down Expand Up @@ -52,6 +56,7 @@ export const TextSection = styled.div`
text-align: left;
margin-top: 10vh;
}
`;

export const CDContainer2 = styled.div`
Expand Down Expand Up @@ -135,8 +140,7 @@ export const Label = styled.label`
&.from-label {
bottom: 5%;
right: ${({ length }) => `calc(-28% + ${length * 0.5}em)`};
right: -30%;
}
@media (max-width: 768px) {
Expand All @@ -149,8 +153,7 @@ export const Label = styled.label`
&.from-label {
bottom: 5%;
right:${({ length }) => `calc(-20% + ${length * 0.35}em)`};
right: -17%;
}
}
Expand All @@ -163,7 +166,6 @@ export const Label = styled.label`
&.from-label {
bottom: 5%;
right:${({ length }) => `calc(-25% + ${length * 0.35}em)`};
}
}
`;
Expand Down Expand Up @@ -203,12 +205,12 @@ export const TextArea = styled.textarea`
font-family: 'Pretendard';
font-style: normal;
font-weight: 400;
width: 70%;
height: 58%;
width: 24vw;
height: 42vh;
border: none;
color: black;
background: transparent;
font-size: 1.1em;
font-size: 1.4em;
resize: none;
text-align: left;
z-index: 10;
Expand All @@ -232,13 +234,13 @@ export const TextArea = styled.textarea`
height: 60%;
top: 20%;
left:15%;
font-size: 0.8em;
font-size: 1.1em;
}
@media (min-width: 769px) and (max-width: 1024px) {
width: 70%;
height: 63%;
top: 20%;
width: 27vw;
height: 31vh;
top: 14%;
}
`;

Expand All @@ -259,7 +261,7 @@ export const ButtonContainer = styled.div`
}
@media (min-width: 769px) and (max-width: 1024px) {
top: calc(100% - 300px);
top: calc(100% - 250px);
gap: 5%;
}
`;
Expand Down

0 comments on commit daf0f50

Please sign in to comment.