Skip to content

Commit

Permalink
#2959 - fixes issue with inheritance with alignment and some table co…
Browse files Browse the repository at this point in the history
…nditions
  • Loading branch information
jlukic committed Sep 12, 2015
1 parent 8a6158f commit 92e0ee2
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions src/definitions/collections/grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -1170,6 +1170,7 @@

/* Top Aligned */
.ui[class*="top aligned"].grid > .column:not(.row),
.ui[class*="top aligned"].grid > .row > .column,
.ui.grid > [class*="top aligned"].row > .column,
.ui.grid > [class*="top aligned"].column:not(.row),
.ui.grid > .row > [class*="top aligned"].column {
Expand All @@ -1180,6 +1181,7 @@

/* Middle Aligned */
.ui[class*="middle aligned"].grid > .column:not(.row),
.ui[class*="middle aligned"].grid > .row > .column,
.ui.grid > [class*="middle aligned"].row > .column,
.ui.grid > [class*="middle aligned"].column:not(.row),
.ui.grid > .row > [class*="middle aligned"].column {
Expand All @@ -1190,6 +1192,7 @@

/* Bottom Aligned */
.ui[class*="bottom aligned"].grid > .column:not(.row),
.ui[class*="bottom aligned"].grid > .row > .column,
.ui.grid > [class*="bottom aligned"].row > .column,
.ui.grid > [class*="bottom aligned"].column:not(.row),
.ui.grid > .row > [class*="bottom aligned"].column {
Expand Down Expand Up @@ -1222,7 +1225,8 @@
-----------------------*/

/* Left Aligned */
.ui[class*="left aligned"].grid .column,
.ui[class*="left aligned"].grid > .column,
.ui[class*="left aligned"].grid > .row > .column,
.ui.grid > [class*="left aligned"].row > .column,
.ui.grid > [class*="left aligned"].column.column,
.ui.grid > .row > [class*="left aligned"].column {
Expand All @@ -1231,7 +1235,8 @@
}

/* Center Aligned */
.ui[class*="center aligned"].grid .column,
.ui[class*="center aligned"].grid > .column,
.ui[class*="center aligned"].grid > .row > .column,
.ui.grid > [class*="center aligned"].row > .column,
.ui.grid > [class*="center aligned"].column.column,
.ui.grid > .row > [class*="center aligned"].column {
Expand All @@ -1243,7 +1248,8 @@
}

/* Right Aligned */
.ui[class*="right aligned"].grid .column,
.ui[class*="right aligned"].grid > .column,
.ui[class*="right aligned"].grid > .row > .column,
.ui.grid > [class*="right aligned"].row > .column,
.ui.grid > [class*="right aligned"].column.column,
.ui.grid > .row > [class*="right aligned"].column {
Expand All @@ -1252,18 +1258,14 @@
}

/* Justified */
.ui.justified.grid,
.ui.justified.grid > .row > .column,
.ui.justified.grid > .column,
.ui.grid .justified.column,
.ui.grid > .justified.row > .column {
.ui.justified.grid > .row > .column,
.ui.grid > .justified.row > .column,
.ui.grid > .justified.column.column,
.ui.grid > .row > .justified.column {
text-align: justify;
hyphens: auto;
}
.ui.grid .justified.column {
text-align: justify !important;
hyphens: auto !important;
}

/*----------------------
Colored
Expand Down

0 comments on commit 92e0ee2

Please sign in to comment.