Skip to content

Commit fe6d401

Browse files
Workaround for line-clamp
1 parent d41477f commit fe6d401

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/theme/page.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,8 @@ body {
422422
overflow: hidden;
423423
overflow-wrap: anywhere;
424424
text-align: left;
425+
line-height: 1.5em;
426+
max-height: 4.5em; /* 3 lines at 1.5em line-height */
425427
}
426428

427429
&.has-extent {

0 commit comments

Comments
 (0)