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 (#1241) (#1243)

Supersedes #1223

Signed-off-by: Miki <miki@amazon.com>
(cherry picked from commit cf5915d)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent efcabd6 commit 2733303
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@

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

Expand Down

0 comments on commit 2733303

Please sign in to comment.