Skip to content

Commit b0391ee

Browse files
author
ltguillaume
committed
Fix gradient positioning on ticker card
1 parent bc1d7ff commit b0391ee

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/styles/landing.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@
751751
font-weight: 500;
752752
line-height: 1.25;
753753
display: -webkit-box;
754-
-webkit-line-clamp: 6;
754+
-webkit-line-clamp: 5;
755755
-webkit-box-orient: vertical;
756756
overflow: hidden;
757757
}
@@ -761,9 +761,9 @@
761761
position: absolute;
762762
left: 0;
763763
right: 0;
764-
bottom: 2em;
764+
bottom: 0;
765765
height: 2em;
766-
background: linear-gradient(0deg, hsl(var(--tc-h), var(--tc-s), 96%) 25%, rgba(255, 255, 255, 0));
766+
background: linear-gradient(0deg, hsl(var(--tc-h), var(--tc-s), 96%) 5%, rgba(255, 255, 255, 0));
767767
}
768768

769769
.ticker-card cite {

0 commit comments

Comments
 (0)