Editor side panel: the Categories list's empty text and Add button sit indented, out of line with the labels

Open Beginner friendly
#675 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
Under an hour
Newbie friendliness
85/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
react, typescript
Domain
frontend

Research direction

The fix lives in resources/js/components/term-tree-picker.tsx. Look at the empty-state li and the ghost Add button, which carry their own horizontal padding, and compare them with the Categories label and the Tags field in the same panel. Done when the "None yet." text and the Add button start at the same left edge as the Categories label and the Tags field. Verify by viewing the editor side panel on a site with no categories.

Written by the indexing model from the issue text.

Description

area/editor type/bug when/later

What

In the editor's side panel, under Categories and tags, when the site has no categories yet, the "None yet." line and the "+ Add" button are indented to the right of the "Categories" label. The Tags field below starts flush with its label, so the two halves of the section don't line up.

The two different controls are intended (categories are a tree picked from a checklist, tags are typed), only the alignment is wrong.

Where

resources/js/components/term-tree-picker.tsx: the empty-state <li> and the ghost Add button carry their own horizontal padding.

Done when

The empty text and the Add button start at the same left edge as the "Categories" label and the Tags field.

When

Later.

🤖 Generated with Claude Code

Dominant language
PHP
Stars
1
Forks
1
Avg merge
1h 40m
Merged PRs (30d)
143

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from temecms/teme

All issues in temecms/teme

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.