Skip to content

fix(content): more room above and below the editor's chip row - #2384

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:fix/editor-header-chip-spacing
Nov 13, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:fix/editor-header-chip-spacing

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

In the Content Editor header, the chip row under the title looked cramped and was tiring to read. It sat tight under the title and close to the header's bottom border. The row holds Set page type, the author, Optimize, In review, the rules count and Quality. This PR gives it more room.

The owner asked for this change in the editor folder.

Changes

_draft-editor.tsx, two class changes:

  • Header padding: pt-2.5 pb-2 → pt-3 pb-3.5.
  • Chip row top margin under the title: mt-1.5 → mt-3.

How to test

Open any draft in the Content Editor. The chip row has clear space above it, under the title, and below it, above the border. Nothing else moves.

Checks

  • Prettier: clean on the changed file.
  • Content editor tests: 748 passed.

Generated by Claude Code

The page type, author, intent, review, rules and Quality chips sat tight
under the title and against the border. The header gets a little more top
and bottom padding, and the chip row more space under the title.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SvzkMf5TZg7yqwaSeMFba9

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to Ansvisor, and thank you for your first PR! A maintainer will be by soon to review.

In the meantime, two things that make review faster:

  • A short description of why the change matters, not just what it does — most of our PRs link a Fixes #... to the issue that explains the why.
  • A quick local test note if there's anything worth eyeballing in the browser.

If you'd like to keep an eye on where Ansvisor goes next, a ⭐ on the repo helps others discover it (and Watch sends you a ping when related issues land). Either way — looking forward to your next one.

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@gkhngyk
gkhngyk merged commit cc03382 into ansvisor:main Nov 13, 2026
13 checks passed
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.

3 participants