Skip to content

Commit

Permalink
Fix columns
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Naszalyi committed Nov 27, 2024
1 parent 556d85a commit 5b7b788
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions packages/styles/framework/src/grid/_columns.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,17 @@ $gap: 4px,
}
}

&.is-aligned-start {
align-items: start !important;
}

&.is-aligned-center {
align-items: center !important;
}

&.is-aligned-end {
align-items: end !important;
}
}

@include touch {
Expand Down Expand Up @@ -214,6 +225,18 @@ $gap: 4px,
--ColumnFraction: 1;
}
}

&.is-aligned-start {
align-items: unset !important;
}

&.is-aligned-center {
align-items: unset !important;
}

&.is-aligned-end {
align-items: unset !important;
}
}
@include tablet-only {
&.is-desktop {
Expand All @@ -233,19 +256,6 @@ $gap: 4px,
flex-grow: 1;
flex-shrink: 1;

&.is-aligned-start {
align-self: start;
}

&.is-aligned-center {
align-self: center;
}

&.is-aligned-end {
align-self: end;
}


@include mobile {
&.is-narrow-mobile {
flex: none;
Expand Down Expand Up @@ -359,6 +369,10 @@ $gap: 4px,
margin-left: $offsetWidth;
}
}

.column.is-narrow {
flex: none;
}
}

&.is-multiline {
Expand Down

0 comments on commit 5b7b788

Please sign in to comment.