Skip to content

feat(editor): align CodeMirror search widget with panel theme and fix replace toggle - #7279

Merged
robertdrakedennis merged 1 commit into
pterodactyl:2.0-developfrom
SandipGhimire:editor-ui-fix
Oct 11, 2026
Merged

robertdrakedennis merged 1 commit into
pterodactyl:2.0-developfrom
SandipGhimire:editor-ui-fix

Conversation

@SandipGhimire

Copy link
Copy Markdown

The default CodeMirror search & replace bar in the File Editor was unstyled, pushed the editor code down when opened, used mismatched fonts/colors, and had a broken Replace collapse toggle.

Changes

  • Replaced the default search panel with a compact, floating top-right widget (VS Code style) that doesn't shift editor content.
  • Applied panel theme variables for backgrounds, inputs (var(--input)), borders (var(--border)), primary buttons (var(--primary)), and a danger close button (var(--destructive)).
  • Set all widget inputs and buttons to use the theme font (var(--font-sans)).
  • Change the Replace section so it stays hidden by default and properly collapses/expands on chevron click or Ctrl+H.

@robertdrakedennis
robertdrakedennis merged commit 0d3ce31 into pterodactyl:2.0-develop Oct 11, 2026
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.

2 participants