diff options
| author | Adam Malczewski <[email protected]> | 2026-06-02 15:55:55 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-02 15:55:55 +0900 |
| commit | 1541e8d9ecc305bb27cf004cb919ef9065eca8be (patch) | |
| tree | 48ad131dc0ee8b79e3d105ba4a8dbb056bde3b4f /packages/frontend/src/lib | |
| parent | 8deb9d17fd5ffc973e85f09ff596770c68ee999a (diff) | |
| download | dispatch-1541e8d9ecc305bb27cf004cb919ef9065eca8be.tar.gz dispatch-1541e8d9ecc305bb27cf004cb919ef9065eca8be.zip | |
style(tabbar): theme sticky + button like a selected tab, no left border
Apply tab-active so the pinned + button uses the same raised base-100
fill, border and top-corner treatment as a selected tab, and drop its
left border (!border-l-0) so it sits flush against the bar's edge.
Keep !rounded-ss-none for the square top-left corner.
Diffstat (limited to 'packages/frontend/src/lib')
| -rw-r--r-- | packages/frontend/src/lib/components/TabBar.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/lib/components/TabBar.svelte b/packages/frontend/src/lib/components/TabBar.svelte index 700bc9d..354260c 100644 --- a/packages/frontend/src/lib/components/TabBar.svelte +++ b/packages/frontend/src/lib/components/TabBar.svelte @@ -93,7 +93,7 @@ function handleRenameKeydown(e: KeyboardEvent): void { at any horizontal scroll; opaque bg + right-side shadow as a floating cue. --> <button type="button" - class="tab !sticky left-0 z-10 bg-base-200 !rounded-ss-none shadow-[2px_0_4px_-1px_rgba(0,0,0,0.2)]" + class="tab tab-active !sticky left-0 z-10 !rounded-ss-none !border-l-0 shadow-[2px_0_4px_-1px_rgba(0,0,0,0.2)]" onclick={() => tabStore.createNewTab()} aria-label="New tab" > |
