Skip to content

Commit

Permalink
fix(content-switcher): set height in button container instead of butt…
Browse files Browse the repository at this point in the history
…on (#3758)

The latest code that dictates the height of content switcher buttons is
introduced in #2085, whereas the height of their (the buttons')
container is dictated by code from older commit. Given the issue #2085
refers to (#1956) seems to request simply for the button's height and
doesn't seem to mention how buttons' height should work with their
container's height, this change moves the code to define the height
back to the container.

Fixes #3751.
  • Loading branch information
asudoh committed Aug 19, 2019
1 parent 5423cbb commit 610dbb4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
display: flex;
justify-content: space-evenly;
width: 100%;
height: rem(32px);
height: rem(40px);
}

.#{$prefix}--content-switcher--disabled {
Expand All @@ -35,7 +35,6 @@
display: inline-flex;
align-items: center;
width: 100%;
height: rem(40px);
padding: $carbon--spacing-03 $carbon--spacing-05;
margin: 0;
white-space: nowrap;
Expand Down

0 comments on commit 610dbb4

Please sign in to comment.