Adjust stylesheet to better match WordPress look

pull/65/head
Oliver Tacke 2019-08-10 13:37:40 +02:00
parent df792da204
commit 4592b3b447
2 changed files with 11 additions and 3 deletions

View File

@ -430,12 +430,11 @@ var H5PDataView = (function ($) {
'class': 'h5p-others-contents-toggler-label',
'text': this.l10n.showOwnContentOnly,
'for': 'h5p-others-contents-toggler'
});
}).prepend(this.$othersContentToggler);
$('<div>', {
'class': 'h5p-others-contents-toggler-wrapper'
}).append(this.$othersContentToggler)
.append($label)
}).append($label)
.appendTo(this.$container);
};

View File

@ -268,6 +268,15 @@ button.h5p-admin.disabled:hover {
.h5p-data-view .h5p-others-contents-toggler-wrapper {
float: right;
line-height: 2;
margin-right: 0.5em;
}
.h5p-data-view .h5p-others-contents-toggler-label {
font-size: 14px;
}
.h5p-data-view .h5p-others-contents-toggler {
margin-right: 0.5em;
}