Skip to content

Commit d57f324

Browse files
committed
update label visibility
1 parent 3f85703 commit d57f324

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/styles/cards/_base.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,14 @@
9494
flex-direction: row;
9595
.card {
9696
&__image {
97-
flex: 2;
97+
flex: 1;
9898
}
9999
&__content {
100100
flex: 2;
101101
}
102+
&__label {
103+
display: none;
104+
}
102105
&__footer .card__author {
103106
display: none;
104107
}

src/styles/cards/_stacked-label.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
}
66
&__label {
77
position: absolute;
8+
display: block;
89
background-color: $accent;
910
color: $light-color;
1011
bottom: 5px;

0 commit comments

Comments
 (0)