Skip to content

Commit

Permalink
Prevent collapsable button of a resizable from adding to the height w…
Browse files Browse the repository at this point in the history
…hen hidden (#1223)

Signed-off-by: Miki <miki@amazon.com>
  • Loading branch information
AMoo-Miki authored Feb 1, 2024
1 parent 53219be commit 95def74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
- Fix "Guidelines" documentation links rendering blank pages ([#1111](https://github.com/opensearch-project/oui/pull/1111))
- Fix bug in OuiButtonContent for showing info tooltip in icon-only buttons when hovered([#1160](https://github.com/opensearch-project/oui/pull/1160))
- Fix playground support check ([#1162](https://github.com/opensearch-project/oui/pull/1162))
- Prevent collapsable button of a resizable from adding to the height when hidden ([#1223](https://github.com/opensearch-project/oui/pull/1223))

### 🚞 Infrastructure

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

&:not(:focus):not(:active):not(.ouiResizableToggleButton-isVisible):not(.ouiResizableToggleButton-isCollapsed) {
@include ouiScreenReaderOnly;
margin: -2px; // To accomodate ouiButtonIcon's border
}
}

Expand Down

0 comments on commit 95def74

Please sign in to comment.