Revert library header line clamp to 2 lines (#215)

This commit is contained in:
jeffvli 2023-09-21 17:52:14 -07:00
parent fbb0907a70
commit c4f9868a6b

View file

@ -26,7 +26,7 @@
grid-template-columns: 175px minmax(0, 1fr); grid-template-columns: 175px minmax(0, 1fr);
h1 { h1 {
font-size: 4.5rem; font-size: 3rem;
} }
.image { .image {
@ -44,7 +44,7 @@
grid-template-columns: 200px minmax(0, 1fr); grid-template-columns: 200px minmax(0, 1fr);
h1 { h1 {
font-size: 5rem; font-size: 3.5rem;
} }
.image { .image {
@ -62,7 +62,7 @@
grid-template-columns: 225px minmax(0, 1fr); grid-template-columns: 225px minmax(0, 1fr);
h1 { h1 {
font-size: 6rem; font-size: 4.5rem;
} }
.image { .image {
@ -80,7 +80,7 @@
grid-template-columns: 250px minmax(0, 1fr); grid-template-columns: 250px minmax(0, 1fr);
h1 { h1 {
font-size: 6.5rem; font-size: 5rem;
} }
.image { .image {
@ -96,7 +96,7 @@
@container (min-width: 1500px) { @container (min-width: 1500px) {
h1 { h1 {
font-size: 7rem; font-size: 5.5rem;
} }
} }
} }
@ -145,10 +145,11 @@
} }
.title { .title {
display: -webkit-box;
overflow: hidden; overflow: hidden;
color: var(--main-fg); color: var(--main-fg);
font-size: 3.5rem; font-size: 2rem;
line-height: 1.15; line-height: 1.2;
white-space: nowrap; -webkit-line-clamp: 2;
text-overflow: ellipsis; -webkit-box-orient: vertical;
} }