Fix confirmation dialog confirm icon

* Position icon up a bit
 * Fix icon not showing in IE at all

Relates to: HFP-889
pull/10/merge
Tom Arild Jakobsen 2017-04-07 10:28:17 +02:00
parent a0069235f1
commit 86ee19905e
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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;
}