Hi guys! The max-width side of the importer is in great shape on 2.4.4. @media (max-width:991px), 767px and 478px overrides land on _prop:tablet_portrait / mobile_landscape / mobile_portrait, and grid columns across three breakpoints came out fully native in my test. Thank you for that.
The other half of real-world CSS doesn’t map yet: mobile-first stylesheets (Tailwind output, most modern design handoffs) are written with min-width.
Environment: Bricks 2.4.4, through bricks/commit-html-css-page-import (convert-html-css-to-bricks-data gives the same).
.b{padding:8px} @media (min-width:768px){.b{padding:24px}}
-> _padding: 8px
_cssCustom: "@media (min-width:768px) { .b.b { padding: 24px; } }"
So the desktop value ends up in custom CSS and the mobile value in the native control, the opposite of what someone editing in the builder expects.
What would help: when the site uses the default desktop-first breakpoints, resolve a min-width cascade into the equivalent desktop-first settings. In the example above that’s _padding: 24px and _padding:mobile_landscape: 8px, i.e. the base rule becomes the override for the largest breakpoint below the min-width value. When the site has mobile-first breakpoints enabled, map them directly.
If the full resolution is too much for now, a warning in diagnostics when a whole media block falls back to _cssCustom would already help. Right now warnings is empty and only customCssBytes hints at it.