File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 37
37
38
38
// Components
39
39
@use " components/accordion" ; // details, summary
40
- @use " components/card" ; // article
40
+ @use " components/card" ; // article, role="article"
41
41
@use " components/dropdown" ; // details.dropdown
42
42
@use " components/group" ; // role="group"
43
43
@use " components/loading" ; // aria-busy=true
Original file line number Diff line number Diff line change 3
3
4
4
@if map .get ($modules , " components/card" ) {
5
5
/* *
6
- * Card (<article>)
6
+ * Card (<article>, role="article" )
7
7
*/
8
8
9
- #{$parent-selector } article {
9
+ #{$parent-selector } article ,
10
+ #{$parent-selector } [role = " article" ] {
10
11
margin-bottom : var (#{$css-var-prefix } block-spacing-vertical );
11
12
padding : var (#{$css-var-prefix } block-spacing-vertical )
12
13
var (#{$css-var-prefix } block-spacing-horizontal );
You can’t perform that action at this time.
0 commit comments