Bug 1164419 - [OSX] Pocket panel for ru locale build has misaligned elements. r=dolske
authorNate Weiner <nate@readitlater.com>
Wed, 13 May 2015 18:18:29 -0700
changeset 243881 e5e46e9b5c79deeafc609d17d53afe68df873323
parent 243880 cba955e6adb238092c27ed9baadc398b1453f0cf
child 243882 db6a6012c8725ad0aa9b51958d2dacd68b5f0964
push id28754
push userkwierso@gmail.com
push dateThu, 14 May 2015 22:34:49 +0000
treeherdermozilla-central@9e97d75e5b1b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdolske
bugs1164419
milestone41.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1164419 - [OSX] Pocket panel for ru locale build has misaligned elements. r=dolske
browser/themes/shared/customizableui/panelUIOverlay.inc.css
--- a/browser/themes/shared/customizableui/panelUIOverlay.inc.css
+++ b/browser/themes/shared/customizableui/panelUIOverlay.inc.css
@@ -241,16 +241,21 @@ panelmultiview[nosubviews=true] > .panel
   max-width: @menuPanelWidth@;
 }
 
 #BMB_bookmarksPopup,
 .panel-mainview:not([panelid="PanelUI-popup"]) {
   max-width: @standaloneSubviewWidth@;
 }
 
+/* Bug 1164419 - increase Pocket panel size to accomidate wider Russian text. */
+panelmultiview[mainViewId=PanelUI-pocketView] > .panel-viewcontainer > .panel-viewstack > .panel-mainview:not([panelid="PanelUI-popup"]) {
+  max-width: 33em; /* standaloneSubviewWidth + 3 */
+}
+
 panelview:not([mainview]) .toolbarbutton-text,
 .cui-widget-panel toolbarbutton > .toolbarbutton-text {
   text-align: start;
   display: -moz-box;
 }
 
 .cui-widget-panel > .panel-arrowcontainer > .panel-arrowcontent {
   padding: 4px 0;