From 6ea2a29a7c0620827bc1ddc4508a8d8e1b526af2 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Fri, 10 Apr 2026 20:59:24 +0200 Subject: [PATCH] fix: remove double-border on TopBar environment slot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The .env wrapper had its own border/background/padding which caused a nested border appearance when wrapping a Select component. Simplified to a plain flex container — the child component handles its own styling. Co-Authored-By: Claude Opus 4.6 (1M context) --- package.json | 2 +- src/design-system/layout/TopBar/TopBar.module.css | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/package.json b/package.json index aff125b..806f338 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cameleer/design-system", - "version": "0.1.41", + "version": "0.1.42", "type": "module", "main": "./dist/index.es.js", "module": "./dist/index.es.js", diff --git a/src/design-system/layout/TopBar/TopBar.module.css b/src/design-system/layout/TopBar/TopBar.module.css index 458bdf2..877a60f 100644 --- a/src/design-system/layout/TopBar/TopBar.module.css +++ b/src/design-system/layout/TopBar/TopBar.module.css @@ -155,17 +155,6 @@ .env { display: flex; align-items: center; - height: 30px; - padding: 4px 10px; - border: 1px solid var(--border); - border-radius: var(--radius-sm); - background: var(--bg-raised); - color: var(--text-muted); - font-family: var(--font-mono); - font-size: 12px; - font-weight: 600; - text-transform: uppercase; - letter-spacing: 0.5px; } .user {