Skip to content

Commit

Permalink
Creating view trash and more restore options
Browse files Browse the repository at this point in the history
  • Loading branch information
subhas-pramanik-09 committed Jan 15, 2025
1 parent 40ecf20 commit 447916d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 1 addition & 7 deletions css/activities.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,9 @@
justify-content: center;
width: 48px;
height: 48px;
cursor: pointer;
color: white;
background-color: transparent;
transition: background-color 0.3s;
cursor: pointer;
}

#restoreLastIcon:hover, #restoreAllIcon:hover {
background-color: rgba(255, 255, 255, 0.2);
}

.material-icons.md-48 {
font-size: 32px;
Expand Down
2 changes: 2 additions & 0 deletions js/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -3484,6 +3484,8 @@ class Activity {
}
trashView.classList.add('hidden');
});
restoreLastIcon.setAttribute("title", _("Restore Last Item"));
restoreAllIcon.setAttribute("title", _("Restore All Items"));

buttonContainer.appendChild(restoreLastIcon);
buttonContainer.appendChild(restoreAllIcon);
Expand Down

0 comments on commit 447916d

Please sign in to comment.