Skip to content

Commit 62f7014

Browse files
author
Reg (Ceradon AI)
committed
fix: blog grid 2-col max, truncate long descriptions
1 parent 8558384 commit 62f7014

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

styles/styles.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ a[target="_blank"]:not(.btn):not([aria-label]):not(.product-card)::after {
10091009
}
10101010

10111011
@media (min-width: 1024px) {
1012-
.blog-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
1012+
.blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
10131013
}
10141014

10151015
.blog-card {
@@ -1049,6 +1049,10 @@ a[target="_blank"]:not(.btn):not([aria-label]):not(.product-card)::after {
10491049
font-size: 0.875rem;
10501050
color: rgba(197, 203, 214, 0.8);
10511051
margin: 0;
1052+
display: -webkit-box;
1053+
-webkit-line-clamp: 3;
1054+
-webkit-box-orient: vertical;
1055+
overflow: hidden;
10521056
}
10531057

10541058
/* --- TIMELINE --- */

0 commit comments

Comments
 (0)