Skip to content

Commit 5d58366

Browse files
authored
Merge pull request #7330 from masudul-tikweb/master
fix navigation menu scroll
2 parents b5a6e69 + ebe2ba7 commit 5d58366

File tree

3 files changed

+39
-1
lines changed

3 files changed

+39
-1
lines changed

eform-client/src/app/components/navigation/navigation.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<span style="">{{node.name}}</span>
4444
</a>
4545
</mat-expansion-panel-header>
46-
<div style="overflow-x: auto;">
46+
<div style="overflow-x: hidden;">
4747
<ng-container matTreeNodeOutlet></ng-container>
4848
</div>
4949
</mat-expansion-panel>

eform-client/src/app/components/navigation/navigation.component.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ mat-tree {
1616
}
1717
}
1818

19+
20+
&:hover{
21+
border-radius: var(--rounded-full)!important;
22+
}
23+
&:focus{
24+
border-radius: var(--rounded-full)!important;
25+
}
26+
1927
.selected-node {
2028
background-color: var(--mdc-theme-primary) !important;
2129
color: var(--mdc-theme-on-primary) !important;
@@ -60,6 +68,9 @@ mat-tree {
6068
}
6169
}
6270
}
71+
.selected-node {
72+
width: calc(100% - 20px)!important;
73+
}
6374
}
6475
}
6576

eform-client/src/scss/styles.scss

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,15 @@ ngx-material-timepicker-container {
457457
cursor: pointer;
458458
color: var(--text-header)!important;
459459

460+
&:disabled,
461+
&[disabled] {
462+
background-color: var(--border) !important;
463+
color: var(--tp-text) !important;
464+
opacity: 0.5;
465+
cursor: not-allowed !important;
466+
pointer-events: none;
467+
}
468+
460469
&--icon-rounded-border{
461470
display: flex;
462471
padding: var(--3514-px, 14px);
@@ -492,6 +501,15 @@ ngx-material-timepicker-container {
492501
font-style: normal;
493502
//font-weight: 600;
494503
line-height: var(--Text-line-height-sm, 22px); /* 157.143% */
504+
505+
&:disabled,
506+
&[disabled] {
507+
background-color: var(--border) !important;
508+
color: var(--tp-text) !important;
509+
opacity: 0.5;
510+
cursor: not-allowed !important;
511+
pointer-events: none;
512+
}
495513
}
496514

497515

@@ -514,4 +532,13 @@ ngx-material-timepicker-container {
514532
font-style: normal;
515533
//font-weight: 600;
516534
line-height: var(--Text-line-height-sm, 22px); /* 157.143% */
535+
536+
&:disabled,
537+
&[disabled] {
538+
background-color: var(--border) !important;
539+
color: var(--tp-text) !important;
540+
opacity: 0.5;
541+
cursor: not-allowed !important;
542+
pointer-events: none;
543+
}
517544
}

0 commit comments

Comments
 (0)