Skip to content

Commit 95618b6

Browse files
committed
limit max-height of docstring - see Lwt.bind
1 parent b45d61b commit 95618b6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ocamlorg_frontend/css/partials/in_package_search.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,13 @@
101101
@apply font-semibold;
102102
}
103103

104+
#in-package-search-results .entry-comment {
105+
@apply overflow-hidden text-ellipsis max-h-[10rem];
106+
}
107+
104108
@media (min-width: 40em) {
105109
#in-package-search-results .search-entry:not(.active):not(.open) .entry-comment {
106-
@apply whitespace-nowrap overflow-hidden text-ellipsis;
110+
@apply whitespace-nowrap;
107111
}
108112
}
109113

0 commit comments

Comments
 (0)