Merge pull request #10116 from overleaf/jel-dash-action-checked-list

[web] Use other checked list class on dash action modal

GitOrigin-RevId: 22afaf805e57813e243543912811207a74ae85ed
This commit is contained in:
June Kelly 2022-12-01 10:23:02 +00:00 committed by Copybot
parent 5d53f7d418
commit 4b856dbd70
2 changed files with 2 additions and 22 deletions

View file

@ -95,14 +95,14 @@ function ProjectsActionModal({
</Modal.Header>
<Modal.Body>
{bodyTop}
<ul className="projects-action-list">
<ul>
{projectsToDisplay.map(project => (
<li
key={`projects-action-list-${project.id}`}
className={
projectIdsRemainingToProcess.includes(project.id)
? ''
: 'completed-project-action'
: 'list-style-check-green'
}
>
<b>{project.name}</b>

View file

@ -761,23 +761,3 @@
}
}
}
.projects-action-list {
list-style: none;
li:not(.completed-project-action) {
list-style-type: disc;
}
li.completed-project-action {
&:before {
display: inline-block;
content: '\f00c';
font-family: FontAwesome;
color: @ol-green;
width: 1.2em;
margin-left: -1.2em;
height: 0; // prevent slight vertical layout shift
}
}
}