mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 00:28:29 +08:00
Fix notification list appearance
This commit is contained in:
parent
f9c999624f
commit
9dc2616f55
|
@ -79,7 +79,7 @@ export default class NotificationList extends Component {
|
|||
<a className="NotificationGroup-header"
|
||||
href={app.route.discussion(group.discussion)}
|
||||
config={m.route}>
|
||||
{badges && badges.length ? <ul className="NotificationGroup-badges">{listItems(badges)}</ul> : ''}
|
||||
{badges && badges.length ? <ul className="NotificationGroup-badges badges">{listItems(badges)}</ul> : ''}
|
||||
{group.discussion.title()}
|
||||
</a>
|
||||
) : (
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
margin-right: 18px;
|
||||
vertical-align: 1px;
|
||||
|
||||
.badge {
|
||||
.Badge {
|
||||
margin-right: -13px;
|
||||
position: relative;
|
||||
.Badge--size(21px);
|
||||
|
@ -115,7 +115,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.drawerToggle.unreadNotifications {
|
||||
.Navigation-drawer.unreadNotifications {
|
||||
position: relative;
|
||||
|
||||
&:after {
|
||||
|
@ -123,8 +123,8 @@
|
|||
display: block;
|
||||
position: absolute;
|
||||
background: @primary-color;
|
||||
top: 8px;
|
||||
right: 6px;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border-radius: 7px;
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
height: @header-height-phone;
|
||||
width: auto;
|
||||
padding: 13px !important;
|
||||
margin: 0 !important;
|
||||
|
||||
&:active {
|
||||
opacity: 0.5;
|
||||
|
|
Loading…
Reference in New Issue
Block a user