From 6ff77971ad6bd58caf49f6e8c24f9447b9369a9e Mon Sep 17 00:00:00 2001 From: Jessica Lawshe Date: Fri, 16 Sep 2022 08:35:55 -0500 Subject: [PATCH] Merge pull request #9601 from overleaf/jel-no-projects-row [web] Fix no projects row styling GitOrigin-RevId: 6ad5b28c436287465c34f59a2d6e5d74d59e06f6 --- .../project-list/components/table/project-list-table.tsx | 4 ++-- services/web/frontend/stylesheets/app/project-list-react.less | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/services/web/frontend/js/features/project-list/components/table/project-list-table.tsx b/services/web/frontend/js/features/project-list/components/table/project-list-table.tsx index 37824c33f4..39c0f3da8c 100644 --- a/services/web/frontend/js/features/project-list/components/table/project-list-table.tsx +++ b/services/web/frontend/js/features/project-list/components/table/project-list-table.tsx @@ -128,8 +128,8 @@ function ProjectListTable() { )) ) : ( - - + + {t('no_projects')} diff --git a/services/web/frontend/stylesheets/app/project-list-react.less b/services/web/frontend/stylesheets/app/project-list-react.less index 3c8d164049..c24ec3305b 100644 --- a/services/web/frontend/stylesheets/app/project-list-react.less +++ b/services/web/frontend/stylesheets/app/project-list-react.less @@ -218,7 +218,9 @@ } &:hover { - background-color: @structured-list-hover-color; + &:not(.no-projects) { + background-color: @structured-list-hover-color; + } } }