feat: Enhance upload page tag suggestions with keyboard navigation and a top-aligned dropdown, while adding utility scripts for thumbnail copying and dummy data generation.

This commit is contained in:
x
2026-01-24 15:16:53 +01:00
parent 111f06ed42
commit c9ca037063
2 changed files with 50 additions and 47 deletions

View File

@@ -251,6 +251,7 @@
padding: 0.5rem;
display: flex;
flex-wrap: wrap;
position: relative;
gap: 0.5rem;
}
@@ -307,13 +308,14 @@
.tag-suggestions {
/* (styles for dropdown remain similar, maybe cleaner shadow) */
position: absolute;
top: 100%;
top: auto;
bottom: 100%;
left: 0;
right: 0;
background: #1e1e1e;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
border-radius: 0 0 4px 4px;
box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.5);
border-radius: 4px 4px 0 0;
max-height: 200px;
overflow-y: auto;
display: none;
@@ -329,7 +331,8 @@
cursor: pointer;
}
.tag-suggestion:hover {
.tag-suggestion:hover,
.tag-suggestion.active {
background: rgba(255, 255, 255, 0.1);
}