From 6a75b6bf98ac921d9b3393baceaf6ddb716b5933 Mon Sep 17 00:00:00 2001 From: Prathiksha Date: Tue, 24 Oct 2017 22:49:55 +0530 Subject: [PATCH] Bug 1411290 - Make menulist label text visible for popup permission in identity manager in localized builds. r=johannh MozReview-Commit-ID: 1Vx2uBqzPNc --HG-- extra : rebase_source : 99f62a3a65230dca11011306a9bf2b7cf1d67733 --- browser/base/content/browser.js | 1 + browser/themes/shared/notification-icons.inc.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 75ddd579d0f4..500530063d4c 100755 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -8041,6 +8041,7 @@ var gIdentityHandler = { let menupopup = document.createElement("menupopup"); let block = document.createElement("vbox"); block.setAttribute("id", "identity-popup-popup-container"); + menulist.setAttribute("sizetopopup", "none"); menulist.setAttribute("class", "identity-popup-popup-menulist"); menulist.setAttribute("id", "identity-popup-popup-menulist"); diff --git a/browser/themes/shared/notification-icons.inc.css b/browser/themes/shared/notification-icons.inc.css index c2b140a10ba3..810435c54b43 100644 --- a/browser/themes/shared/notification-icons.inc.css +++ b/browser/themes/shared/notification-icons.inc.css @@ -157,7 +157,7 @@ html|*#webRTC-previewVideo { } .identity-popup-popup-menulist { - width: 72px; + min-width: 6.5em; } /* EME */