mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 21:39:28 -06:00
Resolves issue where dropdown menus displayed two arrows instead of one. The problem occurred due to conflicts between: 1. TomSelect's Bootstrap 5 theme providing automatic dropdown arrows 2. Custom CSS that was adding duplicate arrows with ::after pseudo-elements 3. Leftover Bootstrap 4 caret elements in templates Changes: - Remove conflicting custom TomSelect arrow CSS from explorer.scss - Remove leftover `#[b.caret]` element from font-size dropdown template - Update theme files to use `background-color` instead of `background` shorthand to preserve TomSelect's arrow images - Add reusable SCSS function for generating themed dropdown arrows - Override arrow colors in dark themes using TomSelect's exact CSS selector for precision All dropdown arrows now appear consistently across themes with appropriate colors for visibility. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>