Skip to content

CSS issue (scroll bar appearing) with row small margin and row small spacing #39

Description

@bassmartin

When using regular spacing, no scrollbar is appearing :

ResponsiveRow row = layout.addRow().withMargin(ResponsiveRow.MarginSize.SMALL).withSpacing(true)
row.addColumn().withDisplayRules(12, 12, 6, 6).withComponent(panel1)
row.addColumn().withDisplayRules(12, 12, 6, 6).withComponent(panel2)

result :
screen shot 2017-06-27 at 15 55 25

When using small spacing, a scrollbar is appearing :

ResponsiveRow row = layout.addRow().withMargin(ResponsiveRow.MarginSize.SMALL).withSpacing(ResponsiveRow.SpacingSize.SMALL, true)
row.addColumn().withDisplayRules(12, 12, 6, 6).withComponent(panel1)
row.addColumn().withDisplayRules(12, 12, 6, 6).withComponent(panel2)

Result :
screen shot 2017-06-27 at 15 55 01

Using only horizontal spacing (with small margin) : no scrollbar
Using only vertical spacing (with small margin) : scroll bar

Thanks.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions