Skip to content

Commit

Permalink
Make minimal button group divider modifier-independent (#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
llorca authored and giladgray committed Apr 3, 2017
1 parent 8ddb5f4 commit db4e9c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/core/src/components/button/_button-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ Styleguide components.button-group.css
@include pt-button-minimal-divider();
display: inline-block;
position: absolute;
top: 0;
top: 10%;
bottom: 10%;
left: 100%;
content: "";
}
Expand Down Expand Up @@ -268,6 +269,7 @@ Styleguide components.button-group.css
&::after {
top: 100%;
right: 0;
bottom: auto;
left: 0;
width: auto;
height: $minimal-button-divider-width;
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/components/button/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ $button-intents: (
margin: ($pt-button-height - $divider-height) / 2;
background: $pt-divider-black;
width: $minimal-button-divider-width;
height: $divider-height;

.pt-dark & {
background: $pt-dark-divider-white;
Expand Down

1 comment on commit db4e9c6

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make minimal button group divider modifier-independent (#911)

Preview: docs
Coverage: core | datetime

Please sign in to comment.