Skip to content

Commit

Permalink
Few last fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
leomendoza123 committed Nov 23, 2023
1 parent d848741 commit 540b784
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/layout/header/header.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class HeaderComponent implements OnInit {
path === `/${ApplicationRoutes.selfService}` ||
path === `/${ApplicationRoutes.inbox}` ||
path === `/${ApplicationRoutes.developerTools}` ||
path === `/${ApplicationRoutes.register}`
path.indexOf( `/${ApplicationRoutes.register}`) !== -1
})
}

Expand Down
1 change: 1 addition & 0 deletions src/app/register2/components/register2.scss-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
}

:host {

::ng-deep {
.container .mat-horizontal-content-container,
.container {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@use '@angular/material' as mat;
@import 'src/assets/scss/material.orcid-theme.scss';

@mixin theme($theme) {
$primary: map-get($theme, primary);
$accent: map-get($theme, accent);
$warn: map-get($theme, accent);
$foreground: map-get($theme, foreground);
$background: map-get($theme, background);

:host {

background-color: map-get($background, 'ui-background-lightest');
}

}
@include theme($orcid-app-theme);
1 change: 1 addition & 0 deletions src/app/register2/pages/register/register2.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import { ReactivationLocal } from '../../../types/reactivation.local'
templateUrl: './register2.component.html',
styleUrls: [
'./register2.component.scss',
'./register2.component.scss.theme.scss',
'../../components/register2.scss-theme.scss',
'../../components/register2.style.scss',
],
Expand Down

0 comments on commit 540b784

Please sign in to comment.