зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1400219 - Align permission status menulists in the permission dialog with the header and adjust the menulist margin. r=johannh
MozReview-Commit-ID: LaY1YaNZydg --HG-- extra : rebase_source : 1c13ddf31884a2617af0d8b63b46b80f6efbecdf
This commit is contained in:
Родитель
f1cfd28b35
Коммит
20d8477588
|
@ -16,3 +16,8 @@
|
|||
#permissionsBox > richlistitem {
|
||||
min-height: 35px;
|
||||
}
|
||||
|
||||
.website-status {
|
||||
margin: 1px;
|
||||
margin-inline-end: 5px;
|
||||
}
|
||||
|
|
|
@ -153,6 +153,7 @@ var gSitePermissionsManager = {
|
|||
let menupopup = document.createElement("menupopup");
|
||||
menulist.setAttribute("flex", "1");
|
||||
menulist.setAttribute("width", "50");
|
||||
menulist.setAttribute("class", "website-status");
|
||||
menulist.appendChild(menupopup);
|
||||
let states = SitePermissions.getAvailableStates(permission.type);
|
||||
for (let state of states) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче