diff --git a/webui/static/stats-automations.js b/webui/static/stats-automations.js index 922d6607..265d71eb 100644 --- a/webui/static/stats-automations.js +++ b/webui/static/stats-automations.js @@ -5980,13 +5980,17 @@ function _renderBlockConfigFields(slotKey, blockType, config) { // async populator can mark them checked once kinds load. The // visible picker container starts as a loading message. const initialKinds = JSON.stringify(Array.isArray(config.kinds) ? config.kinds : []); - return `
- + // The default `.config-row` flex layout puts label on the left + // and input on the right — wrong for a tall multi-select picker. + // Use a dedicated column-layout wrapper so the picker spans + // the full card width. + return `
+ -
+
Loading personalized playlists…
-
Pick which Discover-page playlists this automation will sync. Variant kinds (Time Machine, Genre, Daily Mix, Seasonal Mix) expose individual instances below their kind row.
+
Pick which Discover-page playlists this automation will sync. Variant kinds (Time Machine, Genre, Daily Mix, Seasonal Mix) expose individual instances below their kind row.
@@ -6229,6 +6233,12 @@ async function _autoLoadPersonalizedKinds(slotKey) { // Render: one row per (kind, variant). Singletons get one row; // variant kinds get one row per resolved variant + an "all" toggle. + // Inline styles override the parent `.placed-block-config label` + // rule (uppercase / min-width / letter-spacing) — without these + // overrides every row would render as a tiny narrow chip. + const rowStyle = 'display:flex;align-items:center;gap:8px;padding:4px 0;cursor:pointer;font-size:13px;text-transform:none;letter-spacing:0;color:rgba(255,255,255,0.85);min-width:0;'; + const variantRowStyle = rowStyle + 'padding-left:20px;font-size:12px;color:rgba(255,255,255,0.7);'; + const sectionHeader = 'font-weight:600;margin:8px 0 2px;color:rgba(255,255,255,0.85);font-size:13px;text-transform:none;letter-spacing:0;'; let html = ''; _autoPersonalizedKinds.forEach(spec => { const baseLabel = spec.name_template @@ -6239,21 +6249,21 @@ async function _autoLoadPersonalizedKinds(slotKey) { // Singleton: one checkbox. const key = selectedKey(spec.kind, ''); const checked = selectedSet.has(key) ? ' checked' : ''; - html += `