mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 14:12:10 +08:00
UX: Add flat text button styles and use in date/time cancel modal (#17892)
Also fixes an A11Y issue with the date/time cancel button.
This commit is contained in:
@ -156,9 +156,10 @@
|
||||
@label="discourse_local_dates.create.form.insert" />
|
||||
{{/if}}
|
||||
|
||||
<a class="cancel-action" href {{action "cancel"}}>
|
||||
{{i18n "cancel"}}
|
||||
</a>
|
||||
<DButton
|
||||
@class="btn-flat"
|
||||
@action={{action "cancel"}}
|
||||
@translatedLabel={{i18n "cancel"}} />
|
||||
|
||||
<DButton
|
||||
@class="btn-default advanced-mode-btn"
|
||||
|
Reference in New Issue
Block a user