dashboard: drop "held locally · prices via /api/universe" meta line
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 <noreply@anthropic.com>
This commit is contained in:
parent
f997a8adde
commit
477a47be2c
2 changed files with 11 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@
|
|||
<section id="portfolio-panel" class="panel">
|
||||
<div class="panel-header">
|
||||
<span class="title">Portfolio</span>
|
||||
<span class="meta">held locally · prices via /api/universe</span>
|
||||
<button type="button" id="pf-edit-btn" class="pf-edit-btn"
|
||||
title="Add or remove positions" aria-pressed="false">
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue