Skip to content

[BUG] [alpha] Editor tab strip container (.tabs-container) uses padding: 0 — no outer inset around tab row #38203

@jvdopb04

Description

@jvdopb04

Project

ide

Description

Plain language

The editor group tab strip is rendered with class tabs-container (cortex-ide/src/components/editor/TabBar.tsx). Global CSS sets padding: 0 with a comment that tabs fill the full width. DevTools → Computed shows 0px on all padding sides for that container. That is easy to verify on a live element (no off-screen probe): open at least one file so the tab row exists, select .tabs-container in Elements, and read padding in the Computed pane.

This is a different surface from modal / quick-input / keybindings issues in the same padding batch.

Technical detail

.tabs-container {
  display: flex;
  align-items: flex-end; /* Align tabs to bottom for fusion effect */
  height: var(--editor-group-tab-height);
  padding: 0; /* No padding - tabs fill full width */
  scrollbar-width: none; /* Firefox */
  overflow: hidden;
  background-color: var(--jb-panel);
  /* NO border-bottom - tabs merge directly with editor */
}

Error Message

Debug Logs

System Information

OS: Windows 11

Screenshots

Image

Steps to Reproduce

  1. Launch Cortex and open a workspace or create/open at least one editor tab so the horizontal tab strip is visible.
  2. Open DevTools (Tauri toggle_devtools or app shortcut).
  3. Elements: use the picker and click the tab row (the scrollable strip of file tabs), or search the DOM for tabs-container.
  4. With .tabs-container selected, open Computed (or Styles) and confirm padding0px on all sides (or equivalent longhands all 0px).

Expected Behavior

Either intentional (document as design) or a small consistent horizontal/vertical inset from the panel edge if product wants breathing room around the whole strip.

Actual Behavior

padding: 0 on .tabs-container — no container-level padding; spacing relies on inner .tab rules and layout.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingideIssues related to IDEinvalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions