diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index a6c6ce440e..50759088d5 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -671,4 +671,26 @@ a.md-header__button.md-logo img { .pipe { display: none; } +} + +.md-search-result__article { + max-height: none; +} + +.md-search-result__teaser, +article.md-search-result__article p:not(.md-search-result__meta) { + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + line-height: 1.5; + max-height: 4.5em; +} + +.md-search-result__article > p { + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; } \ No newline at end of file