mirror of
https://github.com/picocss/pico.git
synced 2025-04-21 17:16:14 -04:00
Updated the clean-css filter to ignore the odd of
lines so it doesnt create an empty selector
This commit is contained in:
parent
0708656f6c
commit
9ea0a83a8b
1 changed files with 2 additions and 4 deletions
|
@ -71,10 +71,8 @@
|
||||||
@if enable-classes {
|
@if enable-classes {
|
||||||
#{$parent-selector} table {
|
#{$parent-selector} table {
|
||||||
&.striped {
|
&.striped {
|
||||||
/* clean-css ignore:start */
|
tbody tr:nth-child(/* clean-css ignore:start */ odd of /* clean-css ignore:end */:not([hidden])) th,
|
||||||
tbody tr:nth-child(odd of :not([hidden])) th,
|
tbody tr:nth-child(/* clean-css ignore:start */ odd of /* clean-css ignore:end */:not([hidden])) td {
|
||||||
tbody tr:nth-child(odd of :not([hidden])) td {
|
|
||||||
/* clean-css ignore:end */
|
|
||||||
background-color: var(#{$css-var-prefix}table-row-stripped-background-color);
|
background-color: var(#{$css-var-prefix}table-row-stripped-background-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue