Skip to content

Commit 62c49d7

Browse files
Merge pull request #2643 from shubhamkumar9199/feature/WEB-208-fix-button-title-alignment
Fix: Align buttons with title on Client General tab (208)
2 parents 893e958 + 5bc54b6 commit 62c49d7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/app/clients/clients-view/general-tab/general-tab.component.scss

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,19 @@
3232
}
3333

3434
.heading-content {
35+
display: flex; /* Use flexbox for alignment */
36+
align-items: center; /* Align items vertically */
37+
justify-content: space-between; /* Space out title and buttons */
3538
margin-bottom: 1%;
3639
margin-top: 1%;
3740
}
3841

3942
.heading-name {
40-
display: block;
43+
margin: 0; /* Reset margin to avoid misalignment */
44+
}
45+
46+
.layout-row.align-flex-end {
47+
display: flex;
48+
align-items: center; /* Ensure buttons are vertically aligned */
49+
gap: 0.5rem; /* Add spacing between buttons if needed */
4150
}

0 commit comments

Comments
 (0)