Browse Source

Adds equal width fields/form

pull/3277/head
Jack 9 years ago
parent
commit
c7554add96
2 changed files with 11 additions and 1 deletions
  1. 1
      RELEASE-NOTES.md
  2. 11
      src/definitions/collections/form.less

1
RELEASE-NOTES.md

@ -3,6 +3,7 @@
### Version 2.1.5 - Nov 1, 2015
**Minor Enhancements*8
- **Form** - Adds `equal width form` and `equal width fields` for simpler grouped fields
- **Modal** - `onHide` callback can now cancel event by returning false #3168 **Thanks @mdehoog**
- **Dropdown** - Added `onLabelRemove` callback that allows value removal to be cancelled by callback **Thanks @goloveychuk**

11
src/definitions/collections/form.less

@ -851,7 +851,6 @@
/* Sizing Combinations */
.ui.form .fields .wide.field {
width: @oneWide;
padding-left: (@gutterWidth / 2);
@ -945,6 +944,16 @@
}
}
/*--------------------
Equal Width
---------------------*/
.ui[class*="equal width"].form .fields > .field,
.ui.form [class*="equal width"].fields > .field {
width: 100%;
flex: 1 1 auto;
}
/*--------------------
Inline Fields
---------------------*/

Loading…
Cancel
Save