Files
pterodactyl-panel/resources/scripts/components/elements
Sandip Ghimire 0d3ce311eb feat(editor): align CodeMirror search widget with panel theme and fix replace toggle (#7279)
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`.
2026-10-11 17:49:53 -04:00
..
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-05 18:10:18 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 18:49:15 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-05 18:10:18 -04:00
2026-10-05 18:10:18 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-05 18:10:18 -04:00
2026-10-05 18:10:18 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-05 18:10:18 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-05 18:10:18 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-05 18:10:18 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 19:17:30 -04:00
2026-10-08 18:49:15 -04:00
2026-10-08 16:54:59 -04:00
2026-10-08 16:54:59 -04:00
2026-10-05 18:10:18 -04:00