soflyy / breakdance-bugs

Bug reports from Breakdance users.
42 stars 6 forks source link

Responsive CSS Bug - Absolute Positioning #1143

Open DigitalServicesLab opened 3 months ago

DigitalServicesLab commented 3 months ago

If you have an elements Wrapper set to (for example);

.element { position: absolute; top: -40px; left: 78px; }

And you want to change the left property at a breakpoint, it doesnt work unless you also set position: absolute again.

You should simply be able to change the left property by itself since position: absolute is already set.

If you do not set position: absolute again, no additional CSS is generated and the initial CSS remains with the initial left value.

Example Below: Desktop image

1119px and Below image

Output: image

Left is not changed - no responsive css is output for the breakpoint...

Add position: absolute again even though it's already set for 'All Breakpoints' image

Now it works.. image