juice icon indicating copy to clipboard operation
juice copied to clipboard

juice not working with complex css

Open sbecker-app opened this issue 2 years ago • 1 comments

Server side, juice not working with css like

.react-datepicker__day--in-selecting-range:not( .react-datepicker__day--in-range,.react-datepicker__month-text--in-range, .react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range), .react-datepicker__month-text--in-selecting-range:not( .react-datepicker__day--in-range, .react-datepicker__month-text--in-range, .react-datepicker__quarter-text--in-range, .react-datepicker__year-text--in-range ), .react-datepicker__quarter-text--in-selecting-range:not( .react-datepicker__day--in-range, .react-datepicker__month-text--in-range, .react-datepicker__quarter-text--in-range, .react-datepicker__year-text--in-range ), .react-datepicker__year-text--in-selecting-range:not( .react-datepicker__day--in-range, .react-datepicker__month-text--in-range, .react-datepicker__quarter-text--in-range, .react-datepicker__year-text--in-range ) { background-color: rgba(33, 107, 165, .5) }

sbecker-app avatar Jan 05 '23 17:01 sbecker-app

Maybe this will get things working. Give a try!

https://github.com/Automattic/juice/pull/442

filoscoder avatar Feb 05 '23 10:02 filoscoder

The CSS parser used by Juice currently cannot handle those types of selectors, sorry.

cossssmin avatar Sep 29 '25 10:09 cossssmin