A platform for community discussion. Free, open, simple.
UX: fix search results unreachable bottom results and more button (#32883)
chapoi2f3404fe4dc8
diff --git a/app/assets/stylesheets/common/base/menu-panel.scss b/app/assets/stylesheets/common/base/menu-panel.scssindex e828d782f37..927c7551676 100644--- a/app/assets/stylesheets/common/base/menu-panel.scss+++ b/app/assets/stylesheets/common/base/menu-panel.scss@@ -48,6 +48,7 @@display: flex;flex-direction: column;box-sizing: border-box;+ max-height: 100vh;// remove once glimmer search menu in place.widget-link,diff --git a/app/assets/stylesheets/common/components/welcome-banner.scss b/app/assets/stylesheets/common/components/welcome-banner.scssindex 83c5d86104d..6e2069315fe 100644--- a/app/assets/stylesheets/common/components/welcome-banner.scss+++ b/app/assets/stylesheets/common/components/welcome-banner.scss@@ -157,6 +157,11 @@color: var(--primary);}}++ .search-menu-panel {+ // hacky but best guestimate we can do: full height of the viewport minus the header, minus the welcome banner spacing, minus font-size:6 title+ max-height: calc(100vh - var(--header-offset) - -3em - 4em);+ }}// hide search icon from default search menudiff --git a/app/assets/stylesheets/desktop/components/header-search.scss b/app/assets/stylesheets/desktop/components/header-search.scssindex 876113595cc..c8bf2300f4e 100644--- a/app/assets/stylesheets/desktop/components/header-search.scss+++ b/app/assets/stylesheets/desktop/components/header-search.scss@@ -100,6 +100,7 @@padding: 0;border: 1px solid var(--primary-low);border-radius: var(--d-border-radius);+ max-height: calc(100vh - var(--header-offset));}.search-input {