Search boxes stand at one height by WaylandYang · Pull Request #312 · deeplethe/utopia · GitHub
Skip to content

Search boxes stand at one height - #312

Merged
WaylandYang merged 2 commits into
devfrom
fix/the-search-boxes-are-one-height
Sep 4, 2026
Merged

WaylandYang merged 2 commits into
devfrom
fix/the-search-boxes-are-one-height

Conversation

@WaylandYang

Copy link
Copy Markdown
Contributor

The search box floating over the graph was 34px tall while the one in the ontology rail was 30px. Both were written py-1.5, so the difference is invisible in the source: the graph's input is text-sm (20px line box) and the rail's is text-xs (16px), and identical padding on different line heights lands four pixels apart. Equal padding was the thing making them unequal.

Both are now 32px, which means the padding has to differ: py-[5px] here, py-[7px] on the rail.

This PR carries only the graph's half. The ontology rail and the schema-diagram search box live in files that #281 rewrites, so their side rides along there rather than fighting over the same lines.

🤖 Generated with Claude Code

WaylandYang and others added 2 commits September 4, 2026 23:42
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: WaylandYang <wayland0916@gmail.com>
@WaylandYang
WaylandYang merged commit 2f2b08f into dev Sep 4, 2026
@WaylandYang
WaylandYang deleted the fix/the-search-boxes-are-one-height branch September 4, 2026 17:01
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