From 5db2f971f2e68c13526b1c286ed28ad778d4dde9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Sat, 20 Apr 2019 11:21:27 +0100 Subject: [PATCH] fix(ui): limit annotation width to the parent width --- .../AlertGroup/Alert/__snapshots__/index.test.js.snap | 8 ++++---- .../Annotation/__snapshots__/index.test.js.snap | 4 ++-- .../Grid/AlertGrid/AlertGroup/Annotation/index.js | 2 +- .../GroupFooter/__snapshots__/index.test.js.snap | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/__snapshots__/index.test.js.snap b/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/__snapshots__/index.test.js.snap index b86ba39b4..ddf4bf478 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/__snapshots__/index.test.js.snap +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/__snapshots__/index.test.js.snap @@ -10,7 +10,7 @@ exports[` matches snapshot when inhibited 1`] = ` aria-describedby=\\"tippy-tooltip-5\\" data-original-title=\\"Click the icon to hide annotation value\\" > -
+
matches snapshot when inhibited 1`] = ` aria-describedby=\\"tippy-tooltip-6\\" data-original-title=\\"Click to show annotation value\\" > -
+
matches snapshot with showAlertmanagers=false showReceiver=fa aria-describedby=\\"tippy-tooltip-1\\" data-original-title=\\"Click the icon to hide annotation value\\" > -
+
matches snapshot with showAlertmanagers=false showReceiver=fa aria-describedby=\\"tippy-tooltip-2\\" data-original-title=\\"Click to show annotation value\\" > -
+
matches snapshot when visible=false 1`] = ` class style=\\"display:inline\\" > -
+
matches snapshot when visible=true 1`] = ` class style=\\"display:inline\\" > -
+
matches snapshot 1`] = ` aria-describedby=\\"tippy-tooltip-1\\" data-original-title=\\"Click the icon to hide annotation value\\" > -
+
matches snapshot 1`] = ` aria-describedby=\\"tippy-tooltip-2\\" data-original-title=\\"Click to show annotation value\\" > -
+
mathes snapshot when silence is rendered 1`] = ` aria-describedby=\\"tippy-tooltip-13\\" data-original-title=\\"Click the icon to hide annotation value\\" > -
+
mathes snapshot when silence is rendered 1`] = ` aria-describedby=\\"tippy-tooltip-14\\" data-original-title=\\"Click to show annotation value\\" > -
+