53 lines
996 B
SCSS
53 lines
996 B
SCSS
.chatItem {
|
|
display: grid;
|
|
grid-template-columns: 48px 1fr;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-height: 94px;
|
|
width: 100%;
|
|
|
|
.content {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 68px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
|
|
& > .information {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
align-items: flex-start;
|
|
gap: 4px;
|
|
}
|
|
|
|
& > .meta {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
justify-content: flex-start;
|
|
gap: 1px;
|
|
|
|
& > .time {
|
|
color: #6b7280;
|
|
line-height: 20px;
|
|
}
|
|
|
|
& > .badge.badge {
|
|
min-width: 24px;
|
|
min-height: 24px;
|
|
max-width: 28px;
|
|
max-height: 28px;
|
|
background-color: #fbbf24;
|
|
|
|
& > .badgeContent {
|
|
display: block;
|
|
min-width: 16px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|