-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
CustomizationIssues related to Phase 2: Customization effortsIssues related to Phase 2: Customization efforts[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
In #73959 we added support for custom CSS to individual blocks. It would be great if this also supported media queries. At the moment if I add:
@media (min-width: 1024px) {
& {
grid-template-columns: repeat(2, 1fr); /* 2 columns at 1024px+ */
}
}
This is what gets outputted:
:root :where(.wp-custom-css-af3a99c3@media (min-width: 1024px) ){}:root :where(.wp-custom-css-af3a99c3){grid-template-columns: repeat(2, 1fr); }
I would expect this:
@media (min-width: 1024px) ){ :root :where(.wp-custom-css-af3a99c3){grid-template-columns: repeat(2, 1fr); }
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CustomizationIssues related to Phase 2: Customization effortsIssues related to Phase 2: Customization efforts[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Type
Fields
Give feedbackNo fields configured for issues without a type.