Skip to content

Commit

Permalink
fix(map): css 깨짐 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Me1e committed Aug 1, 2023
1 parent 99e5d2c commit 2d286a9
Showing 1 changed file with 32 additions and 22 deletions.
54 changes: 32 additions & 22 deletions packages/nextjs/components/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -379,30 +379,40 @@ const MapWrapper = styled.div`
align-items: center;
justify-content: center;
flex-direction: column;
.info_image {
width: 142px;
height: 142px;
object-fit: cover;
border-radius: 10px;
}
.info_box {
margin-top: 8px;
a {
display: block;
max-width: 158px;
display: flex;
width: 100%;
justify-content: space-between;
.info_box_title {
color: #000;
font-size: 12px;
line-height: 24px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.enter_image {
width: 24px;
height: 24px;
align-items: center;
justify-content: center;
flex-direction: column;
.info_image {
width: 142px;
height: 142px;
object-fit: cover;
border-radius: 10px;
}
.info_box {
margin-top: 8px;
display: flex;
width: 100%;
padding: 0 5px 0 10px;
justify-content: space-between;
.info_box_title {
color: #000;
font-size: 12px;
line-height: 24px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.enter_image {
width: 24px;
height: 24px;
object-fit: cover;
}
}
}
}
Expand Down

0 comments on commit 2d286a9

Please sign in to comment.