Skip to content

[Grid] stackable grid has extra left/right margin when stacked #1907

@kevinresol

Description

@kevinresol

Bug Report

Stackable grid has extra left/right margin when stacked. See image below how the left margin of column 1 becomes wider when the grid is stacked.

Steps to reproduce

<div class="ui basic segment">
  <div class="ui two column stackable grid">
    <div class="column">
      <div class="ui segment">
        Column 1
      </div>
    </div>
    <div class="column">
      <div class="ui segment">
        Column 2
      </div>
    </div>
  </div>
</div>

Expected result

No extra margin when stacked. i.e. same amount of margin in both stacked and unstacked state

Actual result

Stackable grid has extra left/right margin when stacked.

Testcase

https://jsfiddle.net/04rj9sx2/2/

Screenshot (if possible)

Screenshot 2021-03-05 at 11 42 40 AM
Screenshot 2021-03-05 at 11 42 49 AM

Version

2.8.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugAny issue which is a bug or PR which fixes a bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions