Merge pull request #9601 from overleaf/jel-no-projects-row

[web] Fix no projects row styling

GitOrigin-RevId: 6ad5b28c436287465c34f59a2d6e5d74d59e06f6
This commit is contained in:
Jessica Lawshe 2022-09-16 08:35:55 -05:00 committed by Copybot
parent 4c02db777b
commit 6ff77971ad
2 changed files with 5 additions and 3 deletions

View file

@ -128,8 +128,8 @@ function ProjectListTable() {
<ProjectListTableRow project={p} key={p.id} />
))
) : (
<tr>
<td className="project-list-table-no-projects-cell" colSpan={4}>
<tr className="no-projects">
<td className="project-list-table-no-projects-cell" colSpan={5}>
{t('no_projects')}
</td>
</tr>

View file

@ -218,7 +218,9 @@
}
&:hover {
background-color: @structured-list-hover-color;
&:not(.no-projects) {
background-color: @structured-list-hover-color;
}
}
}