From 7951b32c19e9eefeefc86b51e3ad06fe68a967e7 Mon Sep 17 00:00:00 2001 From: jlukic Date: Thu, 28 May 2015 17:55:40 -0400 Subject: [PATCH] Fix specificity for column without row not overrriding grid --- src/definitions/collections/grid.less | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/definitions/collections/grid.less b/src/definitions/collections/grid.less index 65d14b8e6..a0e975e76 100755 --- a/src/definitions/collections/grid.less +++ b/src/definitions/collections/grid.less @@ -1228,19 +1228,18 @@ body > .ui.grid { -----------------------*/ /* Left Aligned */ -.ui[class*="left aligned"].grid .column:not(.row), +.ui[class*="left aligned"].grid .column, .ui.grid > [class*="left aligned"].row > .column, -.ui.grid > [class*="left aligned"].column:not(.row), +.ui.grid > [class*="left aligned"].column.column, .ui.grid > .row > [class*="left aligned"].column { text-align: left; align-self: inherit; } /* Center Aligned */ -.ui[class*="center aligned"].grid, -.ui[class*="center aligned"].grid .column:not(.row), +.ui[class*="center aligned"].grid .column, .ui.grid > [class*="center aligned"].row > .column, -.ui.grid > [class*="center aligned"].column:not(.row), +.ui.grid > [class*="center aligned"].column.column, .ui.grid > .row > [class*="center aligned"].column { text-align: center; align-self: inherit; @@ -1250,9 +1249,9 @@ body > .ui.grid { } /* Right Aligned */ -.ui[class*="right aligned"].grid .column:not(.row), +.ui[class*="right aligned"].grid .column, .ui.grid > [class*="right aligned"].row > .column, -.ui.grid > [class*="right aligned"].column:not(.row), +.ui.grid > [class*="right aligned"].column.column, .ui.grid > .row > [class*="right aligned"].column { text-align: right; align-self: inherit;