From 477a47be2c04da0bb6cdef3ae0d536cb616e32c4 Mon Sep 17 00:00:00 2001 From: Giorgio Gilestro Date: Wed, 27 May 2026 15:19:52 +0200 Subject: [PATCH] =?UTF-8?q?dashboard:=20drop=20"held=20locally=20=C2=B7=20?= =?UTF-8?q?prices=20via=20/api/universe"=20meta=20line?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subtitle was technical noise that didn't earn its space in the header. Title alone reads cleaner. Kept the scoped panel-header layout override in cassandra.css since it's harmless and future-proof against re-adding header children. Co-Authored-By: Claude Opus 4.7 --- app/static/css/cassandra.css | 11 +++++++++++ app/templates/dashboard.html | 1 - 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/app/static/css/cassandra.css b/app/static/css/cassandra.css index e63c24f..383af78 100644 --- a/app/static/css/cassandra.css +++ b/app/static/css/cassandra.css @@ -2308,6 +2308,17 @@ a.btn-secondary:hover { color: var(--accent); border-color: var(--accent); } * is theme-aware (deep teal in light, electric cyan in dark). */ +/* The portfolio panel header gains two extra children (the EDIT / Done + * pills). The global `.panel-header` uses `space-between`, which works + * for headers with only title+meta but collapses meta into title once + * any later child has `margin-left: auto`. Switch this header to a + * gap-based flow; meta now sits 12px from the title, edit pill at the + * far right via its own auto-margin. */ +#portfolio-panel .panel-header { + justify-content: flex-start; + gap: 12px; +} + /* EDIT / Done toggle buttons in the panel header. */ .pf-edit-btn, .pf-done-btn { diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html index e99bc74..dec1355 100644 --- a/app/templates/dashboard.html +++ b/app/templates/dashboard.html @@ -47,7 +47,6 @@
Portfolio - held locally ยท prices via /api/universe