This can be reproduced inside the editor bundled in this repo - by opening the index.html file in a browser.
Steps:
Drag one of the layout components onto the canvas, e.g.: the "1 Column" component.
Open the HTML code viewer by pressing the </> button.
Notice that the @media (max-width: 768px) { .gjs-cell ... } definition will be duplicated.
Now drag another layout component onto the canvas.
RESULT: the @media... CSS definition will now be multiplied 4 times.
EXPECTED: There should only be one unique CSS definition per component element/class, and even if multiple components of the same type are dragged onto the canvas.
Note that the non-media definitions don't get multiplied.
This can be reproduced inside the editor bundled in this repo - by opening the index.html file in a browser.
Steps:
@media (max-width: 768px) { .gjs-cell ... }
definition will be duplicated.RESULT: the
@media...
CSS definition will now be multiplied 4 times. EXPECTED: There should only be one unique CSS definition per component element/class, and even if multiple components of the same type are dragged onto the canvas. Note that the non-media definitions don't get multiplied.