feat: add duplicate snippet functionality in SnippetManager and UI

This commit is contained in:
2025-01-25 19:21:02 +02:00
parent a04fd74b11
commit 52543943bc
3 changed files with 38 additions and 0 deletions

View File

@@ -249,4 +249,22 @@
.snippet-item:hover .edit-snippet {
opacity: 0.8;
}
.duplicate-snippet {
opacity: 0.4;
font-size: 14px;
padding: 2px 4px;
background: none;
border: none;
cursor: pointer;
min-width: 24px;
}
.duplicate-snippet:hover {
opacity: 1;
}
.snippet-item:hover .duplicate-snippet {
opacity: 0.8;
}