fix: #3624819 Remove duplicate button.css entry from Claro's theme CSS category
Summary
Fixes Views UI action list button spacing in Claro by removing a duplicate CSS entry.
Problem / motivation
Same underlying bug as core issue #3616100, filed separately here because Claro was removed from Drupal core (Drupal 12) in #3584639 and now lives as its own project.
claro.libraries.yml lists css/components/button.css under both the component and theme CSS categories in the global-styling library. This pushes button.css after views-ui.css in the aggregated CSS, letting button.css's default styling override the Views UI action-list button reset.
Steps to reproduce
- Install Drupal with Claro as the admin theme.
- Go to admin/structure/views/view/content.
- Click "+ Add" above the display tabs.
- Observe the dropdown items render as boxed buttons with visible background and border, instead of a flat list.
Proposed resolution
Remove the duplicate css/components/button.css line under the theme category in claro.libraries.yml, leaving the single, correct entry under component.
Files changed
claro.libraries.ymlTesting
Verified locally that button.css loads before views-ui.css in the aggregated CSS output. Verified in a browser that action-list buttons render with correct spacing in rest and hover states.
Generated with the help of an LLM.