Reduce visualizer latency, tighten UI paddings, fix mobile browser toolbar

- Visualizer: FPS 25→30, chunk_size 2048→1024, smoothing 0.65→0.15
- Beat effect: scale 0.03→0.04, glow range 0.5-0.8→0.4-0.8
- UI: reduce container/section paddings from 2rem to 1rem
- Source name: add ellipsis overflow for long names
- Mobile browser toolbar: use flex-wrap instead of column stack,
  hide "Items per page" label text on small screens

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-01 12:35:23 +03:00
parent 3846610042
commit 652f10fc4c
4 changed files with 33 additions and 17 deletions

View File

@@ -144,7 +144,7 @@ body.dialog-open {
.container {
max-width: 800px;
margin: 0 auto;
padding: 2rem 2rem 0.5rem;
padding: 0.75rem 0.75rem 0.5rem;
}
header {
@@ -498,7 +498,7 @@ h1 {
.player-container {
background: var(--bg-secondary);
border-radius: 12px;
padding: 2rem;
padding: 1rem;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
@@ -936,12 +936,18 @@ button:disabled {
align-items: center;
justify-content: center;
gap: 0.75rem;
min-width: 0;
}
.source-label {
display: inline-flex;
align-items: center;
gap: 0.35rem;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 200px;
}
.source-icon {
@@ -998,7 +1004,7 @@ button:disabled {
.scripts-container {
background: var(--bg-secondary);
border-radius: 12px;
padding: 2rem;
padding: 1rem;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
@@ -1131,7 +1137,7 @@ button:disabled {
}
.settings-section summary {
padding: 1rem 1.5rem;
padding: 1rem;
font-size: 1rem;
font-weight: 600;
color: var(--text-primary);
@@ -1169,7 +1175,7 @@ button:disabled {
}
.settings-section-content {
padding: 0 1.5rem 1.5rem;
padding: 0 1rem 1rem;
overflow-x: auto;
}
@@ -1282,7 +1288,7 @@ button:disabled {
.display-container {
background: var(--bg-secondary);
border-radius: 12px;
padding: 2rem;
padding: 1rem;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
@@ -2218,7 +2224,7 @@ button.primary svg {
@media (max-width: 600px) {
.container {
padding: 1rem;
padding: 0.5rem;
}
#album-art {
@@ -2289,7 +2295,7 @@ footer .separator {
.browser-container {
background: var(--bg-secondary);
border-radius: 12px;
padding: 2rem;
padding: 1rem;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
@@ -3006,16 +3012,26 @@ footer .separator {
}
.browser-toolbar {
flex-direction: column;
align-items: stretch;
flex-wrap: wrap;
gap: 0.5rem;
}
.browser-toolbar-left {
gap: 0.35rem;
}
.browser-search-wrapper {
max-width: none;
flex-basis: 100%;
order: 10;
}
.browser-toolbar-right {
justify-content: flex-end;
margin-left: auto;
}
.items-per-page-label span {
display: none;
}
.browser-list-item {