Skip to content

Commit 25506a2

Browse files
fix(unity-bootstrap-theme): update line clamp for ranking card
1 parent bbe3272 commit 25506a2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/unity-bootstrap-theme/src/scss/extends/_ranking-cards.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
.content {
2424
display: flex;
2525
flex-direction: column;
26-
justify-content: space-between;
2726
max-height: calc(100% - $uds-size-spacing-2);
2827
flex-grow: 1;
2928

@@ -54,6 +53,8 @@
5453
i.fa-chevron-up {
5554
transition: all 0.3s ease-in-out;
5655
color: $uds-color-base-gray-7;
56+
height: .875rem;
57+
width: .875rem;
5758
}
5859
}
5960

@@ -195,7 +196,6 @@
195196
padding-bottom: var(--ranking-card-text-padding);
196197
.btn-expand {
197198
display: flex;
198-
justify-content: space-between;
199199
align-items: baseline;
200200

201201
h4 {
@@ -207,8 +207,8 @@
207207
}
208208

209209
> p {
210-
line-clamp: 13;
211-
-webkit-line-clamp: 13;
210+
line-clamp: 15;
211+
-webkit-line-clamp: 15;
212212
visibility: hidden;
213213
transition: visibility .3s ease-in;
214214
margin: 0;

0 commit comments

Comments
 (0)