Skip to content

Commit f070aab

Browse files
ltguillaumeltguillaume
andauthored
CSS: Remove overflow fade, show ellipses (#412)
Co-authored-by: ltguillaume <ltguillaume@noreply.codeberg.org>
1 parent 81db13b commit f070aab

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

src/styles/landing.css

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -745,27 +745,16 @@
745745
}
746746

747747
.ticker-card p {
748-
position: relative;
749-
margin: 0 0 0.5rem;
748+
margin: 0 0 0.25rem;
750749
font-style: italic;
751750
font-weight: 500;
752-
line-height: 1.25;
751+
line-height: 1.2;
753752
display: -webkit-box;
754753
-webkit-line-clamp: 5;
755754
-webkit-box-orient: vertical;
756755
overflow: hidden;
757756
}
758757

759-
.ticker-card p::after {
760-
content: "";
761-
position: absolute;
762-
left: 0;
763-
right: 0;
764-
bottom: 0;
765-
height: 2em;
766-
background: linear-gradient(0deg, hsl(var(--tc-h), var(--tc-s), 96%) 5%, rgba(255, 255, 255, 0));
767-
}
768-
769758
.ticker-card cite {
770759
font-size: 0.75rem;
771760
font-style: normal;

0 commit comments

Comments
 (0)