Skip to content

Commit 24d7c7d

Browse files
DamianBrzezinskiHoAjakNatonek
authored andcommitted
fix/fixed-styles-in-article-ui-card-component
1 parent ba0558e commit 24d7c7d

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
.card {
2-
background-color: aqua;
32
height: 100%;
3+
44
&__content {
55
height: 50%;
66
}
7+
78
&__image {
89
&--regular {
9-
width: auto;
10-
height: 50%;
10+
width: 100%;
11+
object-fit: cover;
12+
object-position: center;
13+
max-height: 50%;
1114
}
15+
1216
&--horizontal {
13-
width: 33%;
14-
height: auto;
17+
object-fit: cover;
1518
}
1619
}
1720
}

0 commit comments

Comments
 (0)