diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index 649d2cde0d..1ae1c23c04 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -441,6 +441,7 @@ "too_many_attempts": "", "too_many_files_uploaded_throttled_short_period": "", "too_many_requests": "", + "too_many_search_results": "", "too_recently_compiled": "", "total_words": "", "try_again": "", diff --git a/services/web/frontend/stylesheets/app/editor.less b/services/web/frontend/stylesheets/app/editor.less index 4547381f40..8a715135d3 100644 --- a/services/web/frontend/stylesheets/app/editor.less +++ b/services/web/frontend/stylesheets/app/editor.less @@ -599,9 +599,14 @@ CodeMirror // search result items list .search-results { font-size: 12px; - .no-results-message { + .no-results-message, + .too-many-results-message { font-size: 16px; } + .search-results-scroll-container { + max-height: calc(100vh - 225px); + overflow-y: auto; + } .search-result-hit { &:hover { cursor: pointer; diff --git a/services/web/locales/en.json b/services/web/locales/en.json index b0a1ed4c81..7f74809302 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -790,6 +790,7 @@ "notification_group_invite": "You have been invited to join the __groupName__, Join Here.", "search_references": "Search the .bib files in this project", "no_search_results": "No Search Results", + "too_many_search_results": "There are more than 100 results. Please refine your search.", "email_already_registered": "This email is already registered", "email_already_registered_sso": "This email is already registered. Please log in to your account another way and link your account to the new provider via your account settings.", "compile_mode": "Compile Mode",