Skip to content

Commit fe2fb4a

Browse files
manasa4manasa
authored andcommitted
Fixed the alignment issues in banner component and Todo Widget
1 parent 1f5144b commit fe2fb4a

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

src/app/_samples/mediaco/components/banner/banner.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div style="margin-bottom: '2rem'">
2-
<div class="background-image-style" [ngStyle]="{ 'background-image': getUrl() }">
2+
<div class="background-image-style">
33
<div class="background-style content">
44
<div>
5-
<h1 class="title">{{ title }}</h1>
5+
<h1 class="title" [innerHTML]="title"></h1>
66
<p class="message">{{ message }}</p>
77
</div>
88
</div>

src/app/_samples/mediaco/components/banner/banner.component.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535

3636
.background-image-style {
37-
height: calc(19rem);
37+
height: calc(20rem);
3838
background-size: cover;
3939
background-position: center center;
4040
}
@@ -50,21 +50,21 @@
5050
.content {
5151
display: flex;
5252
flex-direction: column;
53-
justify-content: center;
54-
align-items: center;
53+
padding-top: 5rem;
5554
gap: calc(0.5rem);
5655
}
5756

5857
.title {
5958
margin: 0rem;
60-
font-size: 1.728rem;
61-
font-weight: 600;
59+
font-size: 36px;
60+
color: #46185a;
61+
font-weight: 700;
6262
}
6363

6464
.message {
65-
margin: 0;
66-
font-size: 1rem;
67-
font-weight: 400;
65+
font-size: 14px;
66+
margin-top: 16px;
67+
color: #49454f;
6868
}
6969

7070
.banner-layout {

src/app/_samples/mediaco/components/todo/todo.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $btn-text-color: #5c4498;
2323

2424
position: absolute;
2525
z-index: 10;
26-
left: 29%;
26+
left: 30%;
2727
top: 15rem;
2828
}
2929

src/app/_samples/mediaco/components/todo/todo.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ export class TodoComponent implements OnInit, OnDestroy {
149149

150150
deferLoadWorklistItems(responseData) {
151151
this.arAssignments$ = responseData.data;
152+
this.surveyCase = this.surveyAssignment(this.arAssignments$);
152153
}
153154

154155
surveyAssignment(assignmentsSource: any[]) {

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
@@ -34,7 +34,7 @@
3434
</mat-sidenav>
3535
<mat-sidenav-content>
3636
<!-- Top Toolbar -->
37-
<mat-toolbar *ngIf="activePage === 'Self-service Main page'" style="position: relative; background: transparent">
37+
<mat-toolbar style="position: relative; background: transparent">
3838
<mat-toolbar-row mat-icon-button style="justify-content: space-between">
3939
<div class="psdk-nav-header" (click)="navPanelButtonClick(homePage)">
4040
<div>

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ mat-nav-list {
6565

6666
/* 2. Scale the icon up when hovering the list item */
6767
.horizontal-list mat-list-item:hover .circle-icon {
68-
transform: scale(1.2); /* Zooms in by 20% - adjust this number as needed */
6968
cursor: pointer; /* Changes cursor to pointer to indicate interactivity */
7069
}
7170

0 commit comments

Comments
 (0)