From 79ac8be7fd3d138e5cb89413a10b0350ce513c9e Mon Sep 17 00:00:00 2001 From: Moriel Schottlender Date: Thu, 21 Jan 2016 13:18:28 -0800 Subject: [PATCH] Truncate notification action button text Bug: T123657 Change-Id: I995c3383e7b465849773e4deaaa0d4a14524f6ac --- modules/ooui/styles/mw.echo.ui.NotificationItemWidget.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ooui/styles/mw.echo.ui.NotificationItemWidget.less b/modules/ooui/styles/mw.echo.ui.NotificationItemWidget.less index dc0110267..db3603fd9 100644 --- a/modules/ooui/styles/mw.echo.ui.NotificationItemWidget.less +++ b/modules/ooui/styles/mw.echo.ui.NotificationItemWidget.less @@ -58,6 +58,8 @@ // a very specific selector font-weight: normal !important; color: #000 !important; + // Set max-width so buttons are truncated + max-width: 15em; } .oo-ui-iconElement-icon {