зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1558452 - Fix sitePermission column header width. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35545 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
34f1734412
Коммит
aa72d212cf
|
@ -289,7 +289,7 @@ var gSitePermissionsManager = {
|
||||||
},
|
},
|
||||||
|
|
||||||
_createPermissionListItem(permission) {
|
_createPermissionListItem(permission) {
|
||||||
let width = (permission.type == "autoplay-media") ? "75" : "50";
|
let width = "75";
|
||||||
let richlistitem = document.createXULElement("richlistitem");
|
let richlistitem = document.createXULElement("richlistitem");
|
||||||
richlistitem.setAttribute("origin", permission.origin);
|
richlistitem.setAttribute("origin", permission.origin);
|
||||||
let row = document.createXULElement("hbox");
|
let row = document.createXULElement("hbox");
|
||||||
|
|
|
@ -44,9 +44,9 @@
|
||||||
</hbox>
|
</hbox>
|
||||||
<separator class="thin"/>
|
<separator class="thin"/>
|
||||||
<listheader>
|
<listheader>
|
||||||
<treecol id="siteCol" data-l10n-id="permissions-site-name" flex="3" width="50"
|
<treecol id="siteCol" data-l10n-id="permissions-site-name" flex="3" width="75"
|
||||||
onclick="gSitePermissionsManager.buildPermissionsList(event.target)"/>
|
onclick="gSitePermissionsManager.buildPermissionsList(event.target)"/>
|
||||||
<treecol id="statusCol" data-l10n-id="permissions-status" flex="1" width="50"
|
<treecol id="statusCol" data-l10n-id="permissions-status" flex="1" width="75"
|
||||||
data-isCurrentSortCol="true"
|
data-isCurrentSortCol="true"
|
||||||
onclick="gSitePermissionsManager.buildPermissionsList(event.target);"/>
|
onclick="gSitePermissionsManager.buildPermissionsList(event.target);"/>
|
||||||
</listheader>
|
</listheader>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче