Skip to content

Commit

Permalink
[FE] FIX: 공유사물함 대기열 입장 시 Profile 대여정보에서 사물함이 초록색으로 나오도록 수정, border 크기…
Browse files Browse the repository at this point in the history
… 축소 #1428
  • Loading branch information
junyoung2015 committed Nov 25, 2023
1 parent 3e00eef commit e75918f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/Card/LentInfoCard/LentInfoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,15 @@ const CabinetRectangleStyled = styled.div<{
}>`
width: 60px;
height: 60px;
line-height: ${(props) => (props.status === "IN_SESSION" ? "52px" : "60px")};
line-height: ${(props) => (props.status === "IN_SESSION" ? "56px" : "60px")};
border: ${(props) =>
props.status === "IN_SESSION" && "4px solid var(--main-color);"};
props.status === "IN_SESSION" && "2px solid var(--main-color);"};
border-radius: 10px;
margin-right: 20px;
background-color: ${(props) =>
props.banned
? "var(--expired)"
: props.isLented && props.status !== "IN_SESSION"
: props.isLented
? "var(--mine)"
: "var(--full)"};
color: ${(props) => (props.banned ? "var(--white)" : "var(--black)")};
Expand Down

0 comments on commit e75918f

Please sign in to comment.