Skip to content

fix: Workspace UI — SVG split icons + full-height layout - #238

Merged
vakovalskii merged 1 commit into
mainfrom
fix/workspace-ui
Jul 20, 2026
Merged

vakovalskii merged 1 commit into
mainfrom
fix/workspace-ui

Conversation

@vakovalskii

Copy link
Copy Markdown
Owner

Problem

The Workspace toolbar looked broken: the split-layout buttons used glyph chars (▯, ▯▯, ⊞) that render as empty tofu boxes in the dashboard font, and height: calc(100vh - 52px) overflowed once the tab bar was added (extra scroll / misaligned box).

Fix

  • SVG icons for the four split layouts (1 / 2-col / 3-col / 2×2) — no font glyphs.
  • Edge-to-edge fill: .content:has(.workspace-wrap) drops the dashboard's 20px padding + scroll while the terminal is mounted, and .workspace-wrap uses height: 100% instead of the brittle calc.

Testing

Fresh browser load → 1 tab / 1 pane, no horizontal overflow, wrap height == content box (819px == 819px), all 4 layout icons render as SVG. Full suite 166 pass / 2 skipped / 0 fail.

Folded into the unreleased 7.8.0 (never published to npm), so no extra version bump.

🤖 Generated with Claude Code

- Replace the ▯/⊞ glyph layout buttons (rendered as tofu boxes in many
  fonts) with crisp inline SVG icons (1 / 2-col / 3-col / 2×2).
- Fill the content area edge-to-edge: drop the dashboard's 20px padding
  and scroll while the workspace is mounted (`.content:has(.workspace-wrap)`)
  and give the wrap height:100% instead of a brittle calc(100vh - 52px),
  which overflowed once the tab bar was added.

Verified: fresh load = 1 tab / 1 pane, no horizontal overflow, wrap
height exactly matches the content box, all four layout icons render.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vakovalskii
vakovalskii merged commit f0c2337 into main Jul 20, 2026
6 checks passed
@vakovalskii
vakovalskii deleted the fix/workspace-ui branch July 20, 2026 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant