diff --git a/services/web/app/views/layout/language-picker.pug b/services/web/app/views/layout/language-picker.pug index 70daf1ccd1..1444f29045 100644 --- a/services/web/app/views/layout/language-picker.pug +++ b/services/web/app/views/layout/language-picker.pug @@ -47,7 +47,7 @@ li.language-picker menu.classList.toggle('show', opening) toggle.setAttribute('aria-expanded', String(opening)) }) - document.addEventListener('click', function (e) { + document.addEventListener('mousedown', function (e) { if (!picker || !picker.contains(e.target)) close() }) document.addEventListener('keydown', function (e) { diff --git a/services/web/frontend/js/features/project-list/components/project-list-ds-nav.tsx b/services/web/frontend/js/features/project-list/components/project-list-ds-nav.tsx index f6b4b9b64f..ee746360f3 100644 --- a/services/web/frontend/js/features/project-list/components/project-list-ds-nav.tsx +++ b/services/web/frontend/js/features/project-list/components/project-list-ds-nav.tsx @@ -44,37 +44,19 @@ export function ProjectListDsNav() { const tableTopArea = (
- {isLibraryEnabled ? ( - <> - - {showNewProjectButton && ( - - )} - - ) : ( - <> - - - + {showNewProjectButton && ( + )} +
) @@ -107,9 +89,6 @@ export function ProjectListDsNav() { )} -
- -
diff --git a/services/web/frontend/js/features/project-list/components/table/project-list-table-row.tsx b/services/web/frontend/js/features/project-list/components/table/project-list-table-row.tsx index c491a45a2f..488b70b3d4 100644 --- a/services/web/frontend/js/features/project-list/components/table/project-list-table-row.tsx +++ b/services/web/frontend/js/features/project-list/components/table/project-list-table-row.tsx @@ -28,9 +28,10 @@ function ProjectListTableRow({ project, selected }: ProjectListTableRowProps) { {' '} - + {ownerName ? : null} + @@ -41,9 +42,6 @@ function ProjectListTableRow({ project, selected }: ProjectListTableRowProps) { - - -
diff --git a/services/web/frontend/stylesheets/components/footer.scss b/services/web/frontend/stylesheets/components/footer.scss index 3a07e7255c..6ec952c9d7 100644 --- a/services/web/frontend/stylesheets/components/footer.scss +++ b/services/web/frontend/stylesheets/components/footer.scss @@ -187,6 +187,10 @@ footer.site-footer { display: none; } } + + .language-picker-text { + display: none; + } } } diff --git a/services/web/frontend/stylesheets/pages/project-list.scss b/services/web/frontend/stylesheets/pages/project-list.scss index e6ecfc8711..27345e8629 100644 --- a/services/web/frontend/stylesheets/pages/project-list.scss +++ b/services/web/frontend/stylesheets/pages/project-list.scss @@ -581,21 +581,27 @@ ul.project-list-filters { padding-top: var(--spacing-02); padding-bottom: var(--spacing-02); } - - td:not(.dash-cell-actions) { - padding-right: 55px; - } } .dash-cell-name, .dash-cell-owner, .dash-cell-date, - .dash-cell-tag, + .dash-cell-meta, .dash-cell-actions { display: block; width: auto; } + .dash-cell-name { + padding-right: 55px; + } + + .dash-cell-meta { + padding-top: 0; + font-size: var(--font-size-02); + color: var(--content-secondary-themed); + } + .dash-cell-actions { position: absolute; top: var(--spacing-04); @@ -698,6 +704,10 @@ form.project-search { .form-group { margin-bottom: 0; } + + @include media-breakpoint-down(md) { + min-width: 0; // Allow shrinking below input's intrinsic min-width in flex containers + } } .add-affiliation-mobile-wrapper {