Skip to content

Commit

Permalink
Fix search suggestion sizing (#2602)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoleda-codaio authored May 26, 2023
1 parent 5544f26 commit 8bbb500
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/assets/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,14 @@ div.no pre code {
.md-banner a {
color: var(--md-code-hl-color);
}

/*
* Work around search suggest results being too large.
* See: https://github.com/squidfunk/mkdocs-material/issues/4278#issuecomment-1562597537
*/
.md-search-result .md-typeset {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
max-height: 140px;
}

0 comments on commit 8bbb500

Please sign in to comment.