Skip to content

Commit 43b663f

Browse files
committed
fix: enhance layout structure in playbook builder component for better responsiveness
1 parent e1230c0 commit 43b663f

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

frontend/src/app/incident-response/playbook-builder/playbook-builder.component.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
:host{
2+
display: flex;
3+
flex-direction: column;
4+
flex: 1 1 auto;
5+
min-height: 0;
6+
height: 100%;
7+
}
8+
19
.sidebar-section {
210
position: sticky;
311
align-self: start;
@@ -11,3 +19,8 @@
1119
border-top: 1px solid #e0e0e0!important;
1220
z-index: 10;
1321
}
22+
23+
.container-fluid {
24+
flex: 1;
25+
min-height: 0;
26+
}

frontend/src/app/incident-response/playbook-builder/playbook-builder.component.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
<div class="container-fluid pr-3 pl-3 pt-2">
1+
<div class="container-fluid pr-2 pl-2 pt-2 d-flex flex-column">
32
<div class="d-flex justify-content-between align-items-center mb-2 px-1">
43
<h5 class="card-title mb-0 text-uppercase label-header">Add flow</h5>
54
<div class="header-elements">

0 commit comments

Comments
 (0)