mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 15:17:14 +08:00
UX: Add icon to dismiss notifications button.
This commit is contained in:
parent
2ded524b5a
commit
a604c6393d
|
@ -19,9 +19,11 @@
|
|||
{{/mobile-nav}}
|
||||
|
||||
{{#if model}}
|
||||
<div class='notification-buttons'>
|
||||
<button title="{{i18n 'user.dismiss_notifications_tooltip'}}" id='dismiss-notifications-top' class='btn notifications-read' {{action "resetNew"}}>{{i18n 'user.dismiss_notifications'}}</button>
|
||||
</div>
|
||||
{{d-button title='user.dismiss_notifications_tooltip'
|
||||
class='btn dismiss-notifications'
|
||||
action="resetNew"
|
||||
label='user.dismiss_notifications'
|
||||
icon='times'}}
|
||||
{{/if}}
|
||||
</section>
|
||||
|
||||
|
|
|
@ -57,10 +57,6 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
.notification-buttons {
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.user-navigation {
|
||||
|
||||
.map {
|
||||
|
|
|
@ -590,10 +590,6 @@
|
|||
display: inline-block;
|
||||
}
|
||||
|
||||
.notification-buttons {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
// mobile fixups for badges
|
||||
|
||||
.badge-card.medium {
|
||||
|
|
Loading…
Reference in New Issue
Block a user