Skip to content

v6: Remove editor tab/editor inset padding#4405

Merged
trevor-scheer merged 1 commit into
graphiql-6from
trevor/editor-frame-inset-padding
Jul 11, 2026
Merged

v6: Remove editor tab/editor inset padding#4405
trevor-scheer merged 1 commit into
graphiql-6from
trevor/editor-frame-inset-padding

Conversation

@trevor-scheer

@trevor-scheer trevor-scheer commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

The editor tab strip and editor area sat inset 8px from their column edges. That padding was there to clear the rounded corner of the old editor card, which has since been flattened, so the inset no longer does anything. It just reads as uneven whitespace, most noticeably on the left. This drops it so the tabs and editors sit flush against the column edges and the divider.

Test plan

  • Open GraphiQL. The tabs and editor area sit flush against the left edge of their column — no gap between them and the activity-rail divider.
  • There's no extra gap above the tabs or below the editor; the editor region fills its column.
  • The tab labels still line up with the editor content beneath them.
  • Toggle Dark and Light — the flush layout holds in both.

Refs: #4219

The tab strip and editor area were inset 8px from the column edges to
clear the old rounded editor card. That card has been flattened, so the
inset just reads as stray whitespace. Remove it so the tabs and editors
sit flush against the column edges and the 1px divider.
@changeset-bot

changeset-bot Bot commented Jul 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5c0468a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
graphiql Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@trevor-scheer trevor-scheer marked this pull request as ready for review July 11, 2026 00:45
@trevor-scheer trevor-scheer merged commit 80bf12d into graphiql-6 Jul 11, 2026
13 checks passed
@trevor-scheer trevor-scheer deleted the trevor/editor-frame-inset-padding branch July 11, 2026 00:45
trevor-scheer added a commit that referenced this pull request Jul 11, 2026
Reconcile the two-column sessions restructure with the flattened,
flush editor frame that landed on graphiql-6 (#4397, #4405):

- Drop the 8px inset on `.graphiql-session-row` so the panes sit flush
  to the frame edges, matching the inset-padding removal (#4405).
- Move the editor/response divider `border-right` from `.graphiql-editors`
  onto `.graphiql-editor-column` so it runs the full column height
  (header + editor) rather than only the editor body.
- Keep `min-height: 0` on `#graphiql-session`.
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