Skip to content

Commit

Permalink
fix(grid): fix stackable inverted grid divider for mobile screen
Browse files Browse the repository at this point in the history
The stackable inverted grid item is not showing the divider in mobile screen due to the override by specificity of non-inverted grid.
  • Loading branch information
ko2in authored Oct 10, 2023
1 parent 5b9dd71 commit 7259033
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/definitions/collections/grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -1723,10 +1723,10 @@
border-top: none !important;
}
& when (@variationGridInverted) {
.ui.inverted.stackable.celled.grid > .column:not(.row),
.ui.inverted.stackable.divided.grid > .column:not(.row),
.ui.inverted.stackable.celled.grid > .row > .column,
.ui.inverted.stackable.divided.grid > .row > .column {
.ui.ui.inverted.stackable.celled.grid > .column:not(.row),
.ui.ui.inverted.stackable.divided.grid > .column:not(.row),
.ui.ui.inverted.stackable.celled.grid > .row > .column,
.ui.ui.inverted.stackable.divided.grid > .row > .column {
border-top: @stackableInvertedMobileBorder;
}
}
Expand Down

0 comments on commit 7259033

Please sign in to comment.