Skip to content

Commit

Permalink
add text ellipsis to the dapp card
Browse files Browse the repository at this point in the history
  • Loading branch information
ayumitk committed Feb 13, 2024
1 parent ed150c3 commit ac6b594
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/staking-v3/components/styles/dapps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,24 @@
.text--title {
font-weight: 700;
font-size: 16px;
margin: 12px 0 8px 0;
margin: 0 0 4px 0;
line-height: 1.25;
overflow: hidden;
display: -webkit-box;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}

.text--description {
color: $navy-4;
font-size: 12px;
font-weight: 500;
overflow: hidden;
display: -webkit-box;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
}

.card__bottom {
Expand Down

0 comments on commit ac6b594

Please sign in to comment.