Draft: Issue #3616100: Fix Views UI button spacing in Claro

Summary

Fixes Views UI action list button spacing in Claro by restoring the original CSS load order.

Problem / motivation

Issue #1945262 moved css/components/button.css from the component CSS category to the theme category in claro.libraries.yml. The theme category carries a higher fixed weight, so button.css now loads after views-ui.css instead of before it. This lets button.css override the action-list button reset in views-ui.css, causing incorrect spacing and background.

Proposed resolution

Move css/components/button.css back to the component CSS category. This restores button.css loading before views-ui.css, as it did before #1945262.

Files changed

claro.libraries.yml

Testing

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.

Edited by Dmytro Buzinov

Merge request reports

Loading