mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 18:52:14 +03:00
Added background blur to onboarding modals (#19969)
ref https://linear.app/tryghost/issue/IPC-125/modal-and-checklist-misaligned - added background blur to the share and dismiss modals so the misalignment with non-full-width content is less obvious
This commit is contained in:
parent
9dcee418a4
commit
9fb14aab7d
@ -32,7 +32,7 @@ export default class OnboardingChecklist extends Component {
|
||||
|
||||
@action
|
||||
async confirmDismiss() {
|
||||
this.dismissModal = this.modals.open(DismissModal);
|
||||
this.dismissModal = this.modals.open(DismissModal, {}, {backgroundBlur: true});
|
||||
|
||||
const reallyDismiss = await this.dismissModal;
|
||||
|
||||
|
@ -6,6 +6,10 @@ import {task} from 'ember-concurrency';
|
||||
export default class OnboardingShareModal extends Component {
|
||||
@inject config;
|
||||
|
||||
static modalOptions = {
|
||||
backgroundBlur: true
|
||||
};
|
||||
|
||||
get encodedUrl() {
|
||||
return encodeURIComponent(this.config.blogUrl);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user