Skip to content

Commit fb21694

Browse files
committed
fix: update action description display to limit text overflow for better readability
1 parent 9e7cc2d commit fb21694

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

frontend/src/app/incident-response/shared/component/action-builder/action-builder.component.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ <h4 class="panel-title m-0">Flow Actions</h4>
9696
<div class="icon-box mr-2" style="margin-right: 8px;"></div>
9797
<div>
9898
<div class="fw-bold">{{ action.title }}</div>
99-
<small class="text-muted">{{ action.description }}</small>
99+
<small style="display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;" class="text-muted">
100+
{{ action.description }}
101+
</small>
100102
</div>
101103
</div>
102104
<div class="icon-bin font-size-xs text-danger cursor-pointer" (click)="removeAction(action)"></div>

frontend/src/app/incident-response/shared/component/action-builder/action-builder.component.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
transition: background-color 0.2s ease;
55
justify-content: center;
66
min-height: 210px;
7-
max-height: 500px;
8-
overflow: auto;
97
}
108

119
.action-block {

0 commit comments

Comments
 (0)