Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix(micrographics): SchematicLabel tab no longer clipped by DashboardGrid

Adam Eivy1ff0d3b528a4
diff --git a/client/src/components/micrographics/micrographics.css b/client/src/components/micrographics/micrographics.css
index 431b608b84..93d01deba9 100644
--- a/client/src/components/micrographics/micrographics.css
+++ b/client/src/components/micrographics/micrographics.css
@@ -77,11 +77,15 @@
.port-schematic-label--error { color: rgb(var(--port-error)); }
.port-schematic-label--muted { color: rgb(var(--port-border)); opacity: 0.85; }
-/* Card-tab variant: when a label sits on a card's top border like a
- blueprint tab. The host needs `position: relative`. */
+/* Card-tab variant: sits like a blueprint tab on the card's top border.
+ The host needs `position: relative` plus enough top padding/space that
+ the tab isn't clipped by an `overflow: hidden` ancestor (e.g. the
+ dashboard grid wraps each widget in a clipped container). The tab is
+ anchored INSIDE the host so it can't escape; the card's own border
+ line is masked by the tab's own background where they overlap. */
.port-schematic-label--tab {
position: absolute;
- top: -0.45rem;
+ top: 0.35rem;
left: 0.9rem;
z-index: 1;
padding: 0 0.45rem;
diff --git a/client/src/pages/Dashboard.jsx b/client/src/pages/Dashboard.jsx
index 330ce9182e..e29c5f95d0 100644
--- a/client/src/pages/Dashboard.jsx
+++ b/client/src/pages/Dashboard.jsx
@@ -333,10 +333,11 @@ export default function Dashboard() {
if (!meta) return null;
const widget = <meta.Component dashboardState={dashboardState} />;
if (!meta.module) return widget;
- // Hide the schematic tab on narrow widths so it doesn't
- // collide with mobile cards; reappears at sm:
+ // Tab sits inside the wrapper (DashboardGrid clips with
+ // overflow-hidden); sm:pt-4 reserves a header zone so
+ // the tab doesn't overlap widget header content.
return (
- <div className="relative">
+ <div className="relative sm:pt-4">
<span className="hidden sm:inline">
<SchematicLabel
module={meta.module.id}