feat: add snippet renaming functionality and enhance UI with edit button

This commit is contained in:
2025-01-19 14:26:12 +02:00
parent fe9e554cec
commit 49705d7d30
3 changed files with 49 additions and 1 deletions

View File

@@ -145,4 +145,27 @@
.snippet-item:hover .delete-snippet {
opacity: 0.8;
}
.snippet-buttons {
display: flex;
gap: 4px;
}
.edit-snippet {
opacity: 0.4;
font-size: 14px;
padding: 2px 4px;
background: none;
border: none;
cursor: pointer;
min-width: 24px;
}
.edit-snippet:hover {
opacity: 1;
}
.snippet-item:hover .edit-snippet {
opacity: 0.8;
}