fix(12-02): move Add Library button inline with scan buttons

Add Library now sits in the same row as Scan and Full Rescan, sharing
the same btn-primary style and size. Removed the standalone button
below the library list.
This commit is contained in:
2026-03-14 12:13:11 -04:00
parent ba3f840a28
commit 771345dd9d
@@ -971,11 +971,6 @@ export class ConfigPage extends LitElement {
); );
} }
.add-library-btn {
margin-top: 0.75em;
margin-bottom: 1em;
}
.toast { .toast {
position: fixed; position: fixed;
bottom: 80px; bottom: 80px;
@@ -2291,6 +2286,12 @@ export class ConfigPage extends LitElement {
</button> </button>
` `
: html` : html`
<button
class="btn-primary"
@click=${this.handleAddLibrary}
>
Add Library
</button>
<button <button
class="btn-primary" class="btn-primary"
@click=${this.handleSoftScan} @click=${this.handleSoftScan}
@@ -2401,13 +2402,6 @@ export class ConfigPage extends LitElement {
` `
: nothing} : nothing}
<button
class="btn-primary add-library-btn"
@click=${this.handleAddLibrary}
>
Add Library
</button>
<config-field <config-field
.schema=${{ .schema=${{
key: 'concurrencyMode', key: 'concurrencyMode',