Browse Source

Fix issue with bottom margin on stats

pull/6153/merge
Jack 6 years ago
parent
commit
18ecf158a3
3 changed files with 11 additions and 6 deletions
  1. 7
      RELEASE-NOTES.md
  2. 3
      src/definitions/views/statistic.less
  3. 7
      src/themes/default/views/statistic.variables

7
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**

3
src/definitions/views/statistic.less

@ -77,9 +77,6 @@
.ui.statistics:first-child {
margin-top: 0em;
}
.ui.statistics:last-child {
margin-bottom: 0em;
}
/*******************************

7
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;

Loading…
Cancel
Save