mirror of
https://github.com/pterodactyl/panel.git
synced 2026-11-30 19:36:02 -05:00
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`.