mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 11:16:15 -04:00
Allow use of card component with role="article"
This commit is contained in:
parent
6dc6489e69
commit
455339f7fa
2 changed files with 4 additions and 3 deletions
|
@ -3,10 +3,11 @@
|
|||
|
||||
@if map.get($modules, "components/card") {
|
||||
/**
|
||||
* Card (<article>)
|
||||
* Card (<article>, role="article")
|
||||
*/
|
||||
|
||||
#{$parent-selector} article {
|
||||
#{$parent-selector} article,
|
||||
#{$parent-selector} [role="article"] {
|
||||
margin-bottom: var(#{$css-var-prefix}block-spacing-vertical);
|
||||
padding: var(#{$css-var-prefix}block-spacing-vertical)
|
||||
var(#{$css-var-prefix}block-spacing-horizontal);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue