Skip to content

Commit aef96fe

Browse files
authored
Merge pull request #3480 from ProgrammeVitam/bug_15614
Bug #15614 - [PASTIS] Navigation menu display issue.
2 parents cf9e9ba + d5ea5e4 commit aef96fe

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/edit-profile.component.scss

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
}
4141

4242
// The tabs containers
43-
::ng-deep .mat-mdc-tab-header {
43+
:host ::ng-deep .mat-mdc-tab-header {
4444
left: 40px;
4545
right: 40px;
4646
bottom: 48px;
@@ -51,7 +51,7 @@
5151

5252
// The tab
5353
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/
54-
::ng-deep.mat-tab-label {
54+
:host ::ng-deep .mat-tab-label {
5555
@extend .pastis-font-label-historique !optional;
5656
margin-right: 3px !important;
5757
height: 37px !important;
@@ -62,26 +62,26 @@
6262

6363
//The tab hover
6464
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/
65-
::ng-deep.mat-tab-label:hover {
65+
:host ::ng-deep .mat-tab-label:hover {
6666
background: var(--vitamui-white) !important;
6767
}
6868

6969
// Tab hover and tab text hover
7070
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/
71-
::ng-deep.mat-tab-label:hover .mat-tab-label-content {
71+
:host ::ng-deep .mat-tab-label:hover .mat-tab-label-content {
7272
color: var(--vitamui-grey-800) !important;
7373
}
7474

7575
// The active tab (Black and bold)
7676
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/
77-
::ng-deep .mat-tab-label-active {
77+
:host ::ng-deep .mat-tab-label-active {
7878
background: var(--vitamui-white) !important;
7979
border-bottom: solid var(--vitamui-primary) 3px;
8080
}
8181

8282
// The tab content
8383
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/
84-
::ng-deep .mat-tab-label-content {
84+
:host ::ng-deep .mat-tab-label-content {
8585
margin: 8px;
8686
display: flex;
8787
align-items: center;
@@ -90,19 +90,19 @@
9090

9191
// The content of the active tab
9292
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/
93-
::ng-deep .mat-tab-label-active .mat-tab-label-content {
93+
:host ::ng-deep .mat-tab-label-active .mat-tab-label-content {
9494
color: var(--vitamui-primary) !important;
9595
padding-top: 3px !important;
9696
}
9797

9898
// The automatic tab pagination chevron
9999
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/
100-
::ng-deep .mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination {
100+
:host ::ng-deep .mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination {
101101
display: none !important;
102102
}
103103

104-
::ng-deep .mat-mdc-tab-group.mat-primary .mat-ink-bar,
105-
.mat-mdc-tab-nav-bar.mat-primary .mat-ink-bar .pastis-ink-bar {
104+
:host ::ng-deep .mat-mdc-tab-group.mat-primary .mat-ink-bar,
105+
:host ::ng-deep .mat-mdc-tab-nav-bar.mat-primary .mat-ink-bar .pastis-ink-bar {
106106
height: 0;
107107
}
108108

@@ -111,13 +111,13 @@
111111
}
112112

113113
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/
114-
.mat-mdc-tab-body .mat-tab-body-active {
114+
:host ::ng-deep .mat-mdc-tab-body .mat-tab-body-active {
115115
overflow-x: auto !important;
116116
overflow-y: auto !important;
117117
}
118118

119119
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/
120-
.mat-tab-body-content {
120+
:host ::ng-deep .mat-tab-body-content {
121121
overflow-x: auto !important;
122122
overflow-y: auto !important;
123123
}

0 commit comments

Comments
 (0)