Bug 1153509 - Clipping translation notification bar on small screens. r=florian
authorIaroslav Sheptykin <yarik.sheptykin@googlemail.com>
Thu, 16 Apr 2015 17:10:36 +0200
changeset 258380 4ce4e5679cb811992db8549b57548796b7e4808d
parent 258379 b7c98b6379411aa1f836057e1226b979239b15e7
child 258381 2055d3d89c8f3ac40db342025048bc51e8e73d5b
push id8007
push userraliiev@mozilla.com
push dateMon, 11 May 2015 19:23:16 +0000
treeherdermozilla-aurora@e2ce1aac996e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflorian
bugs1153509
milestone40.0a1
Bug 1153509 - Clipping translation notification bar on small screens. r=florian
browser/themes/shared/translation/infobar.inc.css
--- a/browser/themes/shared/translation/infobar.inc.css
+++ b/browser/themes/shared/translation/infobar.inc.css
@@ -21,16 +21,20 @@ notification[value="translation"][state=
 }
 
 @media (min-resolution: 1.25dppx) {
   notification[value="translation"][state="translating"] .messageImage {
     list-style-image: url(chrome://browser/skin/translating-16@2x.png);
   }
 }
 
+notification[value="translation"] hbox[anonid="details"] {
+  overflow: hidden;
+}
+
 notification[value="translation"] button,
 notification[value="translation"] menulist {
   -moz-appearance: none;
   border-width: 1px;
   -moz-border-top-colors: none;
   -moz-border-right-colors: none;
   -moz-border-bottom-colors: none;
   -moz-border-left-colors: none;