diff --git a/services/web/frontend/js/features/project-list/components/project-list-root.tsx b/services/web/frontend/js/features/project-list/components/project-list-root.tsx index 244d625cae..a684ace0fc 100644 --- a/services/web/frontend/js/features/project-list/components/project-list-root.tsx +++ b/services/web/frontend/js/features/project-list/components/project-list-root.tsx @@ -87,7 +87,7 @@ function ProjectListPageContent() { -
+
diff --git a/services/web/frontend/js/features/project-list/components/sidebar/sidebar.tsx b/services/web/frontend/js/features/project-list/components/sidebar/sidebar.tsx index 76ceb794f2..2a3f05038e 100644 --- a/services/web/frontend/js/features/project-list/components/sidebar/sidebar.tsx +++ b/services/web/frontend/js/features/project-list/components/sidebar/sidebar.tsx @@ -1,6 +1,7 @@ import NewProjectButton from '../new-project-button' import SidebarFilters from './sidebar-filters' import AddAffiliation, { useAddAffiliation } from '../add-affiliation' +import SurveyWidget from '../survey-widget' import { usePersistedResize } from '../../../../shared/hooks/use-resize' function Sidebar() { @@ -25,6 +26,9 @@ function Sidebar() { {showAddAffiliationWidget &&
} +
+ +
.content& { padding-top: @header-height; padding-bottom: 0; @@ -46,7 +44,7 @@ height: 100%; .project-list-sidebar-react { - height: 100%; + flex-grow: 1; padding-left: 15px; padding-right: 15px; -ms-overflow-style: -ms-autohiding-scrollbar; @@ -81,6 +79,7 @@ .project-list-main-react { max-width: 100%; + overflow-x: hidden; padding: @content-margin-vertical @grid-gutter-width / 2; } @@ -724,11 +723,8 @@ } .project-list-sidebar-survey-wrapper { - position: fixed; - z-index: 1; + position: sticky; bottom: 0; - left: 0; - width: 15%; .alert-info-alt { font-size: @font-size-small; @@ -741,9 +737,7 @@ @media (max-width: @screen-xs-max) { position: static; - display: block; margin-top: @margin-sm; - width: initial; .alert-info-alt { font-size: unset;