diff --git a/dokka-subprojects/plugin-base-frontend/src/main/components/search/search.scss b/dokka-subprojects/plugin-base-frontend/src/main/components/search/search.scss index 166fda1b4a..ddd1e79a2a 100644 --- a/dokka-subprojects/plugin-base-frontend/src/main/components/search/search.scss +++ b/dokka-subprojects/plugin-base-frontend/src/main/components/search/search.scss @@ -102,6 +102,9 @@ $secondary-font-color: rgba(255, 255, 255, 0.7); .popup-wrapper { min-width: 100% !important; } + .search-hotkey-popup { + display: none; + } } .template-wrapper { @@ -132,7 +135,7 @@ $secondary-font-color: rgba(255, 255, 255, 0.7); font-weight: 600; line-height: 24px; -webkit-box-orient: vertical; - -webkit-line-clamp: 3; + -webkit-line-clamp: 2; } .template-description { @@ -150,7 +153,7 @@ $secondary-font-color: rgba(255, 255, 255, 0.7); line-height: 20px; justify-self: end; -webkit-box-orient: vertical; - -webkit-line-clamp: 3; + -webkit-line-clamp: 2; } @media screen and (width <= 759px) { diff --git a/dokka-subprojects/plugin-base-frontend/src/main/components/search/search.tsx b/dokka-subprojects/plugin-base-frontend/src/main/components/search/search.tsx index b0672048db..1e5ff03b00 100644 --- a/dokka-subprojects/plugin-base-frontend/src/main/components/search/search.tsx +++ b/dokka-subprojects/plugin-base-frontend/src/main/components/search/search.tsx @@ -42,6 +42,7 @@ const WithFuzzySearchFilterComponent: React.FC = ({ data }: Props) => { data={data} popupClassName={'popup-wrapper'} onSelect={onChangeSelected} + maxHeight={510} customAnchor={({ wrapperProps, buttonProps, popup }: CustomAnchorProps) => ( )}