oroinc / platform

Main OroPlatform package with core functionality.
Other
627 stars 351 forks source link

CSS targets both first and second element instead of just one #1115

Open easybi-mr opened 3 months ago

easybi-mr commented 3 months ago

Summary
First and second elements with class .responsive-cell are targeted with selector, giving both of them padding, instead of just one. There is also padding when there is only one element, when there should be none.

Steps to reproduce
Add a widget to a view page.

Actual Result First and second element have padding-top, or when there is one element, it has padding-top.

Expected Result
When there is a single element, no padding-top should be present on .responsive-cell.

Details about your environment

Code in question vendor/oro/platform/src/Oro/Bundle/UIBundle/Resources/public/css/scss/layout.scss:131