Import the button stylesheet from list-detail.css for its back button
Plan step 36, navigation review sweep. <x-list-detail> renders an <x-button> as the single-pane back action, but only pane.css picked up button.css when the carry-over landed; an application importing layout/list-detail.css alone got an unstyled back button. A new check reads every layout view's component tags against its stylesheet's imports, as the group stylesheet tests do for components. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qwx5USif3wFFmxtHg5U1g9
This commit is contained in:
co-authored by
Claude Opus 5
parent
cbf6c36191
commit
27028bfb7a
@@ -25,12 +25,14 @@
|
||||
* what is inside it that the margin is drawn. A pane that is focused as a whole draws no outline:
|
||||
* it is not a control, and the element focus lands on inside it is what shows the ring.
|
||||
*
|
||||
* In `material.layout`; the state and focus are resources/js/layout.js.
|
||||
* In `material.layout`; the state and focus are resources/js/layout.js. Imports button.css for the
|
||||
* detail pane's back button.
|
||||
*/
|
||||
|
||||
@layer material.reset, material.tokens, material.base, material.layout, material.components, material.text, material.visibility;
|
||||
|
||||
@import './visibility.css';
|
||||
@import '../components/button.css';
|
||||
|
||||
@layer material.layout {
|
||||
[data-md-list-detail] {
|
||||
|
||||
Reference in New Issue
Block a user