mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 03:32:13 +00:00
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:
parent
5d53f7d418
commit
4b856dbd70
2 changed files with 2 additions and 22 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue