Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
[terra-arrange] Revert change for small viewport flex css properties (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
artpark authored Apr 24, 2024
1 parent 0eda3a0 commit b09f41c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
3 changes: 3 additions & 0 deletions packages/terra-arrange/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

* Removed
* Reverted the change for a reflow issue when the viewport is resized to 320x256 px.

## 3.56.1-alpha.0 - (April 10, 2024)

* Changed
Expand Down
16 changes: 2 additions & 14 deletions packages/terra-arrange/src/Arrange.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,14 @@

// Makes sure fill expands to fill the remaining space of its parent container
.fill {
flex-grow: 1;
flex-shrink: 1;
flex-basis: auto;
flex: 1 1 auto;
min-width: 0;
}

// Styles specific to align items independently of each other
.fit {
align-self: flex-start;
flex-grow: 0;
flex-shrink: 0;
flex-basis: auto;
flex: 0 0 auto;
}

.center {
Expand All @@ -42,12 +38,4 @@
.default {
align-self: flex-start;
}

@media (max-width: 320px), (max-height: 256px) {
.fit {
flex-grow: 0;
flex-shrink: 0;
flex-basis: 0;
}
}
}

0 comments on commit b09f41c

Please sign in to comment.