Skip to content

Commit 1b922b6

Browse files
committed
Fix very relaxed vertically divided grid divider spacing
1 parent 5e8dcde commit 1b922b6

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

RELEASE-NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
**Bug Fixes**
66

77
- **Embed** - Embed will now correctly remove DOM metadata on `destroy`
8+
- **Grid** - Fix issue with `very relaxed vertically divided grid` having wrong margins on dividers
89

910
### Version 2.4.0 - Sep 17, 2018
1011

src/definitions/collections/grid.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,12 +1112,12 @@
11121112
.ui.relaxed[class*="vertically divided"].grid > .row:before {
11131113
margin-left: (@relaxedGutterWidth / 2);
11141114
margin-right: (@relaxedGutterWidth / 2);
1115-
width: ~"calc(100% - "@relaxedGutterWidth~")";
1115+
width: calc(100% - @relaxedGutterWidth);
11161116
}
11171117
.ui[class*="very relaxed"][class*="vertically divided"].grid > .row:before {
1118-
margin-left: @veryRelaxedGutterWidth;
1119-
margin-right: @veryRelaxedGutterWidth;
1120-
width: ~"calc(100% - "@veryRelaxedGutterWidth~")";
1118+
margin-left: (@veryRelaxedGutterWidth / 2);
1119+
margin-right: (@veryRelaxedGutterWidth / 2);
1120+
width: calc(100% - @veryRelaxedGutterWidth);
11211121
}
11221122

11231123
/*----------------------

0 commit comments

Comments
 (0)