mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 16:42:17 +03:00
3324c41857
No issue - Changes Modals to use CSS-based animations - All modals have an animation, so the option is removed from the handlebars helper - Removes `animation` from the handlebars helper, as all had one anyway - Removed the `centered` style - All modals should be left-aligned - Buttons now default to being on the left - Cleans up some styles (modal body top spacing) which #4632 helped clean up
10 lines
333 B
Handlebars
10 lines
333 B
Handlebars
{{#gh-modal-dialog action="closeModal" showClose=true type="action" style="wide"
|
|
title="Are you sure you want to leave this page?" confirm=confirm}}
|
|
|
|
<p>Hey there! It looks like you're in the middle of writing something and you haven't saved all of your
|
|
content.</p>
|
|
|
|
<p>Save before you go!</p>
|
|
|
|
{{/gh-modal-dialog}}
|