To reproduce:
Current behavior:
when we use less version Higher than 4.2.0, the proble is occurred,
which means the media css style of the child component is lost.
but when we use lower version,like 4.2.0,which works very well.
key css problem code is below here
@media screen and(max-width:1280px) { .form-process-table { width: 1200px; > div { width: 960px; } } }
demo project is here
https://codesandbox.io/p/devbox/j4rj4t?file=%2Fsrc%2Frouter%2Froutes.ts%3A12%2C5
you can visit the application by this way,https://j4rj4t-8001.csb.app/registeProcess
error:

ok:

Expected behavior:
work well
Environment information:
less version:4.2.2
nodejs version:20.12.0
operating system:windows