-
Notifications
You must be signed in to change notification settings - Fork 27
Description
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 11Screenshots
Steps to Reproduce
- Launch Cortex and open a workspace or create/open at least one editor tab so the horizontal tab strip is visible.
- Open DevTools (Tauri
toggle_devtoolsor app shortcut). - Elements: use the picker and click the tab row (the scrollable strip of file tabs), or search the DOM for
tabs-container. - With
.tabs-containerselected, open Computed (or Styles) and confirm padding — 0px on all sides (or equivalent longhands all0px).
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