Problems: fix multiline description at List view, closes #704
This commit is contained in:
@@ -123,9 +123,9 @@ export default class AlertCard extends PureComponent<AlertCardProps, AlertCardSt
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{panelOptions.descriptionField && panelOptions.descriptionAtNewLine && (
|
{panelOptions.descriptionField && panelOptions.descriptionAtNewLine && (
|
||||||
<div className="alert-rule-item__text" >
|
<div className="alert-rule-item__text zbx-description--newline" >
|
||||||
<span
|
<span
|
||||||
className="alert-rule-item__info zbx-description zbx-description--newline"
|
className="alert-rule-item__info zbx-description"
|
||||||
dangerouslySetInnerHTML={{ __html: problem.comments }}
|
dangerouslySetInnerHTML={{ __html: problem.comments }}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -24,6 +24,10 @@
|
|||||||
|
|
||||||
&.zbx-description--newline {
|
&.zbx-description--newline {
|
||||||
max-height: unset;
|
max-height: unset;
|
||||||
|
|
||||||
|
.zbx-description {
|
||||||
|
margin-left: 0px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.zbx-description {
|
.zbx-description {
|
||||||
|
|||||||
Reference in New Issue
Block a user