Fix confirmation dialog confirm icon
* Position icon up a bit * Fix icon not showing in IE at all Relates to: HFP-889pull/10/merge
parent
a0069235f1
commit
86ee19905e
|
@ -118,8 +118,8 @@ H5P.ConfirmationDialog = (function (EventDispatcher) {
|
||||||
|
|
||||||
// Confirm button
|
// Confirm button
|
||||||
var confirmButton = document.createElement('button');
|
var confirmButton = document.createElement('button');
|
||||||
confirmButton.classList.add('h5p-core-button',
|
confirmButton.classList.add('h5p-core-button');
|
||||||
'h5p-confirmation-dialog-confirm-button');
|
confirmButton.classList.add('h5p-confirmation-dialog-confirm-button');
|
||||||
confirmButton.textContent = options.confirmText;
|
confirmButton.textContent = options.confirmText;
|
||||||
|
|
||||||
// Exit button
|
// Exit button
|
||||||
|
|
|
@ -113,4 +113,6 @@ button.h5p-confirmation-dialog-exit:hover {
|
||||||
|
|
||||||
.h5p-core-button.h5p-confirmation-dialog-confirm-button:before {
|
.h5p-core-button.h5p-confirmation-dialog-confirm-button:before {
|
||||||
content: "\e601";
|
content: "\e601";
|
||||||
|
margin-top: -6px;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue