mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 08:45:06 -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 {
|
||||
#{$parent-selector} table {
|
||||
&.striped {
|
||||
/* clean-css ignore:start */
|
||||
tbody tr:nth-child(odd of :not([hidden])) th,
|
||||
tbody tr:nth-child(odd of :not([hidden])) td {
|
||||
/* clean-css ignore:end */
|
||||
tbody tr:nth-child(/* clean-css ignore:start */ odd of /* clean-css ignore:end */:not([hidden])) th,
|
||||
tbody tr:nth-child(/* clean-css ignore:start */ odd of /* clean-css ignore:end */:not([hidden])) td {
|
||||
background-color: var(#{$css-var-prefix}table-row-stripped-background-color);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue