Skip to content

Commit

Permalink
Fix text overlapping accordion expand/collapse icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebulanStanphill committed Sep 15, 2020
1 parent b4b2678 commit ef62f2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/components/src/panel/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
.components-panel__body-toggle.components-button {
position: relative;
padding: $grid-unit-20;

// Stop text from overlapping the expand/collapse icon.
padding-right: $grid-unit-60;

outline: none;
width: 100%;
font-weight: 500;
Expand Down

0 comments on commit ef62f2f

Please sign in to comment.