Ignore previous display related settings

Hello,

There might be a technical reason but why when selecting a different display setting, the related settings to the previous display are still injected frontend?

For instance display flex, row gap: xxxx then try/move to display grid with no gap setting, still row gap of flex is remembered which creates confusion (and other flex settings are still appearing in the inspector but not active as in this case no more display flex).

I understand that leaving settings should not be a good practice but sometimes you test things or simply forgot to delete one related setting before moving on to another display.

Hope this could be improved.

Thank you.

Hello,

Please review.

I did not put it as a bug, while it could to be.

Having CSS settings that are appearing in frontend while they are not used, should not appear nor have impact.

Below is just one exemple, another consequence is row gap or column gap set under flex, still influence CSS even if grid is chosen and gap set to nothing in there.

Thank you.

Thank you for not ignoring this one too.

Please stop bumping your posts.

1 Like