diff --git a/core/client/assets/sass/modules/global.scss b/core/client/assets/sass/modules/global.scss index 1dc8d8534e..eaa08180ca 100644 --- a/core/client/assets/sass/modules/global.scss +++ b/core/client/assets/sass/modules/global.scss @@ -971,6 +971,14 @@ body.blur > *:not(#modal-container) { opacity: 1; } } + + button { + min-width: 100px; + } + + @include breakpoint($mobile) { + width: 100%; + } } .modal-info { @@ -979,6 +987,10 @@ body.blur > *:not(#modal-container) { .modal-action { @extend %modal; + + .modal-footer { + margin-top: 20px; + } } .modal-header { @@ -1024,10 +1036,16 @@ body.blur > *:not(#modal-container) { } .modal-style-wide { - @extend %modal; width: 550px; + + @include breakpoint($mobile) { + width: 100%; + } } +.modal-style-centered { + text-align: center; +} /* ========================================================================== Main Elements ========================================================================== */ diff --git a/core/client/tpl/modal.hbs b/core/client/tpl/modal.hbs index 6860803727..f09a3f9d95 100644 --- a/core/client/tpl/modal.hbs +++ b/core/client/tpl/modal.hbs @@ -1,5 +1,5 @@ -
+
{{#if content.title}}{{/if}} diff --git a/core/client/views/blog.js b/core/client/views/blog.js index df76af7ff7..e790cea7a3 100644 --- a/core/client/views/blog.js +++ b/core/client/views/blog.js @@ -166,7 +166,7 @@ } }, type: "action", - style: "wide", + style: ["wide", "centered"], animation: 'fade' }, content: { diff --git a/core/client/views/editor.js b/core/client/views/editor.js index df2efa285d..82ad7732ce 100644 --- a/core/client/views/editor.js +++ b/core/client/views/editor.js @@ -300,7 +300,7 @@ options: { close: true, type: "info", - style: "wide", + style: ["wide"], animation: 'fade' }, content: { @@ -374,7 +374,7 @@ options: { close: true, type: "info", - style: "wide", + style: ["wide"], animation: 'fade' }, content: { diff --git a/core/client/views/settings.js b/core/client/views/settings.js index 4263a4d657..aed31a4ca1 100644 --- a/core/client/views/settings.js +++ b/core/client/views/settings.js @@ -186,8 +186,8 @@ options: { close: false, type: "action", - style: "wide", - animation: 'fadeIn', + style: ["wide"], + animation: 'fade', afterRender: function () { this.$('.js-drop-zone').upload(); },