diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 6263b8623..e8fdf52df 100755 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,5 +1,12 @@ ## RELEASE NOTES + +### Version 2.3.2 - June 17, 2018 + +**Bugs** + +- **Statistics** - Fix issue where grouped statistics would have excess bottom margin if they are `:last-child` + ### Version 2.3.1 - Mar 18, 2018 **Note on Flex Modals** diff --git a/src/definitions/views/statistic.less b/src/definitions/views/statistic.less index e345c452f..5e8f89883 100755 --- a/src/definitions/views/statistic.less +++ b/src/definitions/views/statistic.less @@ -77,9 +77,6 @@ .ui.statistics:first-child { margin-top: 0em; } -.ui.statistics:last-child { - margin-bottom: 0em; -} /******************************* diff --git a/src/themes/default/views/statistic.variables b/src/themes/default/views/statistic.variables index 07c40f081..27f3bbafe 100644 --- a/src/themes/default/views/statistic.variables +++ b/src/themes/default/views/statistic.variables @@ -6,14 +6,15 @@ View --------------------*/ -@margin: 1em 0em; +@verticalMargin: 1em; +@margin: @verticalMargin 0em; @textAlign: center; @maxWidth: auto; /* Group */ @horizontalSpacing: 1.5em; -@rowSpacing: 2em; -@groupMargin: 1em -@horizontalSpacing -@rowSpacing; +@rowSpacing: 1em; +@groupMargin: @verticalMargin -@horizontalSpacing -@rowSpacing; /* Group Element */ @elementMargin: 0em @horizontalSpacing @rowSpacing;