From f210528a747da36321a8aa230d5e1d8b69231ddb Mon Sep 17 00:00:00 2001 From: Moriel Schottlender Date: Thu, 10 Mar 2016 15:22:14 -0800 Subject: [PATCH] Fix bundled notification width Bug: T129469 Change-Id: Iaabeab59543d3e271ef84926fb7c7d000a2abd04 --- .../ooui/styles/mw.echo.ui.BundledNotificationGroupWidget.less | 1 + modules/ooui/styles/mw.echo.ui.NotificationItemWidget.less | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ooui/styles/mw.echo.ui.BundledNotificationGroupWidget.less b/modules/ooui/styles/mw.echo.ui.BundledNotificationGroupWidget.less index 34e7a67b3..18fb016cf 100644 --- a/modules/ooui/styles/mw.echo.ui.BundledNotificationGroupWidget.less +++ b/modules/ooui/styles/mw.echo.ui.BundledNotificationGroupWidget.less @@ -19,6 +19,7 @@ .mw-echo-ui-notificationItemWidget { padding: 0.5em; border: 1px solid #DDDDDD; + box-sizing: border-box; &:not(:last-child) { border-bottom: 0; diff --git a/modules/ooui/styles/mw.echo.ui.NotificationItemWidget.less b/modules/ooui/styles/mw.echo.ui.NotificationItemWidget.less index d9be2c9d4..58af9c49c 100644 --- a/modules/ooui/styles/mw.echo.ui.NotificationItemWidget.less +++ b/modules/ooui/styles/mw.echo.ui.NotificationItemWidget.less @@ -90,7 +90,7 @@ // Table layout only for the content inside bundles &-bundle { display: table; - width: ~"calc( 100% - " @bundle-group-padding ~");"; + width: 100%; .mw-echo-ui-notificationItemWidget-content { display: table-row;