Skip to content

Commit 3849d54

Browse files
committed
fix(jumbotron): css styles for the mat-card should be affected only within the host
1 parent ea6a612 commit 3849d54

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
:host {
22
display: block;
3-
}
43

5-
::ng-deep mat-card {
4+
::ng-deep mat-card {
65

7-
background: #e9ecef !important;
6+
background: #e9ecef !important;
87

9-
img {
10-
object-fit: cover; /*this makes de image in src fit to the size of specified below*/
11-
}
8+
img {
9+
object-fit: cover; /*this makes de image in src fit to the size of specified below*/
10+
}
1211

13-
h1 {
14-
font-weight: 400 !important;
15-
}
12+
h1 {
13+
font-weight: 400 !important;
14+
}
1615

17-
p {
18-
margin-top: 0;
19-
margin-bottom: 1rem;
20-
font-size: 1.4rem;
16+
p {
17+
margin-top: 0;
18+
margin-bottom: 1rem;
19+
font-size: 1.4rem;
2120

21+
}
2222
}
2323
}

0 commit comments

Comments
 (0)