Alan Guo Xiang Tan ef7a518159
UX: Retain category badge style on categories select kit. (#17332)
Category badge changes based on the `category style` site setting so we
do not want to forcing all category names to the same color.

Follow-up to 3266350e80da4508243f667a39fd9d07e031adf1
2022-07-05 10:05:44 +08:00

33 lines
618 B
SCSS

.select-kit {
.select-kit-row.category-row {
flex-direction: column;
align-items: flex-start;
.category-status {
display: flex;
align-items: center;
max-width: 100%;
-webkit-box-flex: 0;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.category-desc p {
margin: 0;
}
.category-status {
.badge-wrapper.box {
margin-bottom: 1px;
margin-top: 1px;
}
}
.category-desc {
margin: 0;
font-size: var(--font-down-1);
color: var(--primary-medium);
}
.topic-count {
white-space: nowrap;
}
}
}