diff --git a/js/h5p-confirmation-dialog.js b/js/h5p-confirmation-dialog.js index a06166b..d34f620 100644 --- a/js/h5p-confirmation-dialog.js +++ b/js/h5p-confirmation-dialog.js @@ -118,8 +118,8 @@ H5P.ConfirmationDialog = (function (EventDispatcher) { // Confirm button var confirmButton = document.createElement('button'); - confirmButton.classList.add('h5p-core-button', - 'h5p-confirmation-dialog-confirm-button'); + confirmButton.classList.add('h5p-core-button'); + confirmButton.classList.add('h5p-confirmation-dialog-confirm-button'); confirmButton.textContent = options.confirmText; // Exit button diff --git a/styles/h5p-confirmation-dialog.css b/styles/h5p-confirmation-dialog.css index 47f727a..5a8f597 100644 --- a/styles/h5p-confirmation-dialog.css +++ b/styles/h5p-confirmation-dialog.css @@ -113,4 +113,6 @@ button.h5p-confirmation-dialog-exit:hover { .h5p-core-button.h5p-confirmation-dialog-confirm-button:before { content: "\e601"; + margin-top: -6px; + display: inline-block; }