Skip to content

Commit d4403bd

Browse files
vishalshrm539Sharma
andauthored
Fix for Workarea styling issues (#632)
Co-authored-by: Sharma <[email protected]>
1 parent 1f746a5 commit d4403bd

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

src/app/_samples/mediaco/components/wss-nav-bar/wss-nav-bar.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</div>
3333
</mat-nav-list>
3434
</mat-sidenav>
35-
<mat-sidenav-content>
35+
<mat-sidenav-content [class.collapsed-mode]="collapsed">
3636
<!-- Top Toolbar -->
3737

3838
<mat-toolbar style="position: sticky; top: 0; z-index: 10">

src/app/_samples/mediaco/components/wss-nav-bar/wss-nav-bar.component.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,14 @@ mat-nav-list {
142142
}
143143
}
144144

145+
::ng-deep .mat-sidenav-content {
146+
margin-left: 16rem !important;
147+
}
148+
149+
::ng-deep .collapsed-mode.mat-sidenav-content {
150+
margin-left: 5.313rem !important;
151+
}
152+
145153
/* Optional: Add spacing below the toggle button if needed */
146154
.toggle-header {
147155
margin-bottom: 10px;

src/containerStyles.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ app-flow-container {
99
}
1010

1111
.psdk-flow-container-top {
12-
background-color: var(--mat-sys-surface-container);
12+
background-color: #fff;
1313
padding: 0.5rem 0.625rem;
14-
border-radius: 0.3125rem;
14+
border-top-left-radius: 2rem;
15+
border-bottom: gray 0.0625rem solid;
1516
}
1617
.psdk-flow-container {
1718
padding-left: 2.1875rem;

0 commit comments

Comments
 (0)