mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 05:50:14 +08:00
fix unread/new badge in /categories page
This commit is contained in:
parent
4fb47dd749
commit
467564eb82
|
@ -54,7 +54,7 @@
|
|||
&.bullet { //bullet category style
|
||||
display: inline-flex;
|
||||
align-items: baseline;
|
||||
margin-right: 10px;
|
||||
margin-right: 5px;
|
||||
font-size: 12px;
|
||||
line-height: 15px;
|
||||
|
||||
|
|
|
@ -25,6 +25,12 @@
|
|||
width: 45%;
|
||||
}
|
||||
|
||||
.topics .badge-notification,
|
||||
.category .badge-notification {
|
||||
background-color: transparent;
|
||||
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 40%));
|
||||
}
|
||||
|
||||
.topics {
|
||||
width: 80px;
|
||||
text-align: right;
|
||||
|
@ -37,8 +43,6 @@
|
|||
}
|
||||
.badge-notification {
|
||||
display: block;
|
||||
background-color: transparent;
|
||||
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 40%));
|
||||
text-align: right;
|
||||
padding-right: 0;
|
||||
margin-top: 5px;
|
||||
|
@ -50,6 +54,13 @@
|
|||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.subcategories {
|
||||
.badge-notification.new-posts {
|
||||
padding: 0;
|
||||
margin: 0 5px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
.featured-topic {
|
||||
margin: 10px 0 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user