From c4f4f6cff816ecb5bf3416bb2ffa28f5419242ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Fri, 1 May 2020 18:14:08 +0100 Subject: [PATCH] fix(ui): set min-width on alert menu button This makes buttons less likely to have a unique width. Alert labels will be better aligned. --- .../Components/Grid/AlertGrid/AlertGroup/Alert/AlertMenu.js | 2 +- .../AlertGroup/Alert/__snapshots__/index.test.js.snap | 4 ++-- ui/src/Styles/Components/Alert.scss | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/AlertMenu.js b/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/AlertMenu.js index e5478689b..9be99f804 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/AlertMenu.js +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/AlertMenu.js @@ -121,7 +121,7 @@ const AlertMenu = ({ {({ ref }) => ( matches snapshot when inhibited 1`] = ` - matches snapshot with showAlertmanagers=false showReceiver=fa -