Bug 1319732 - Stack popupnotifications vertically. r=dao draft
authorJohann Hofmann <jhofmann@mozilla.com>
Mon, 09 Jan 2017 13:27:53 +0100
changeset 457646 528cf99edae40f53a8b64975bf8f8f9ae825c7b2
parent 457629 701868bfddcba5bdec516be33a86dcd525dc74cf
child 541544 ef5edfb252dbae8adbe843e2840f64de25287a66
push id40845
push userbmo:jhofmann@mozilla.com
push dateMon, 09 Jan 2017 12:28:24 +0000
reviewersdao
bugs1319732
milestone53.0a1
Bug 1319732 - Stack popupnotifications vertically. r=dao MozReview-Commit-ID: 5vnC8med8pS
toolkit/themes/shared/notification-popup.inc.css
--- a/toolkit/themes/shared/notification-popup.inc.css
+++ b/toolkit/themes/shared/notification-popup.inc.css
@@ -2,10 +2,12 @@
   /* In order to display the action buttons near the edge of the arrow panel we
    * have to reset its default padding and specify the padding in the individual
    * "popupnotification" elements instead. To keep the rounded borders of the
    * panel, we also have to ensure the contents are clipped to the border box
    * by hiding the overflow, and we have to override the "display" property so
    * that the height of the contents is computed correctly in that case. */
   padding: 0;
   overflow: hidden;
-  display: block;
+  display: flex;
+  /* Make multiple popupnotifications stack vertically. */
+  flex-direction: column;
 }