Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
easybi-mr opened this issue May 16, 2024 · 0 comments
Open

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

easybi-mr opened this issue May 16, 2024 · 0 comments

Comments

@easybi-mr
Copy link

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

  • OroPlatform version: 5.1
  • PHP version: 8.2
  • Database (MySQL, PostgreSQL) version: 14.2

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant