Skip to content

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

@easybi-mr

Description

@easybi-mr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions