Browse Source

Fix #3496 - Justified grid inside centered grid now justified

pull/3704/head
Jack Lukic 8 years ago
parent
commit
8f3ed71bd1
2 changed files with 4 additions and 3 deletions
  1. 1
      RELEASE-NOTES.md
  2. 6
      src/definitions/collections/grid.less

1
RELEASE-NOTES.md

@ -13,6 +13,7 @@
-**Popup** - Fixed issue where checking `instanceof SVGGraphicsElement` caused error in IE11 #3043
-**Form Validation / Dropdown** - Fixed issue where using "enter" key in a `search dropdown` could cause a form to be submitted #3676
-**Button** - Fixes issue where `right icon` like `right arrow icon` would have additional margin inside an `icon button` #3525
**Grid** - Fixed issue where `centered` content would cause `justified` content to appear aligned left. #3496
**Enhancements**
- **Build Tools** - Added new `autoInstall` option to allow for Semantic to be installed without user interaction. See [docs explanation](http://www.semantic-ui.com/introduction/advanced-usage.html#Auto-Install) for how to use. #3616 **Thanks @algorithme**

6
src/definitions/collections/grid.less

@ -952,9 +952,9 @@
text-align: center;
justify-content: center;
}
.ui.centered.grid > .column:not(.aligned):not(.row),
.ui.centered.grid > .row > .column:not(.aligned),
.ui.grid .centered.row > .column:not(.aligned) {
.ui.centered.grid > .column:not(.aligned):not(:justified):not(.row),
.ui.centered.grid > .row > .column:not(.aligned):not(:justified),
.ui.grid .centered.row > .column:not(.aligned):not(:justified) {
text-align: left;
}

Loading…
Cancel
Save