From f76cff2b89f4984604d618f161d837a4ba2cfd85 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Mon, 22 Apr 2019 15:51:07 +0300 Subject: [PATCH] Problems: fix multiline description at List view, closes #704 --- src/panel-triggers/components/AlertList/AlertCard.tsx | 4 ++-- src/sass/_panel-triggers.scss | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/panel-triggers/components/AlertList/AlertCard.tsx b/src/panel-triggers/components/AlertList/AlertCard.tsx index 9b089351d..d5c265a66 100644 --- a/src/panel-triggers/components/AlertList/AlertCard.tsx +++ b/src/panel-triggers/components/AlertList/AlertCard.tsx @@ -123,9 +123,9 @@ export default class AlertCard extends PureComponent {panelOptions.descriptionField && panelOptions.descriptionAtNewLine && ( -
+
diff --git a/src/sass/_panel-triggers.scss b/src/sass/_panel-triggers.scss index 220440e6a..b0f98dd50 100644 --- a/src/sass/_panel-triggers.scss +++ b/src/sass/_panel-triggers.scss @@ -24,6 +24,10 @@ &.zbx-description--newline { max-height: unset; + + .zbx-description { + margin-left: 0px; + } } .zbx-description {