Browse Source

Fix very relaxed vertically divided grid divider spacing

pull/6216/merge
Jack 6 years ago
parent
commit
1b922b648e
2 changed files with 5 additions and 4 deletions
  1. 1
      RELEASE-NOTES.md
  2. 8
      src/definitions/collections/grid.less

1
RELEASE-NOTES.md

@ -5,6 +5,7 @@
**Bug Fixes**
- **Embed** - Embed will now correctly remove DOM metadata on `destroy`
- **Grid** - Fix issue with `very relaxed vertically divided grid` having wrong margins on dividers
### Version 2.4.0 - Sep 17, 2018

8
src/definitions/collections/grid.less

@ -1112,12 +1112,12 @@
.ui.relaxed[class*="vertically divided"].grid > .row:before {
margin-left: (@relaxedGutterWidth / 2);
margin-right: (@relaxedGutterWidth / 2);
width: ~"calc(100% - "@relaxedGutterWidth~")";
width: calc(100% - @relaxedGutterWidth);
}
.ui[class*="very relaxed"][class*="vertically divided"].grid > .row:before {
margin-left: @veryRelaxedGutterWidth;
margin-right: @veryRelaxedGutterWidth;
width: ~"calc(100% - "@veryRelaxedGutterWidth~")";
margin-left: (@veryRelaxedGutterWidth / 2);
margin-right: (@veryRelaxedGutterWidth / 2);
width: calc(100% - @veryRelaxedGutterWidth);
}
/*----------------------

Loading…
Cancel
Save