Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
feat(Buttons): space adjacent button
Browse files Browse the repository at this point in the history
BREAKING CHANGE: buttons are now spaced wider apart from one another
(.25em to .5em)
  • Loading branch information
cdaringe committed Jul 25, 2017
1 parent b89f2f8 commit df8f15f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion semantic/src/themes/tripwire/elements/button.variables
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

/* Button */
@verticalMargin: 0em;
@horizontalMargin: 0.25em;
@horizontalMargin: 0.5em;
@backgroundColor: #E0E1E2;
@backgroundImage: none;
@background: @backgroundColor @backgroundImage;
Expand Down
9 changes: 9 additions & 0 deletions src/components/suir/button/Button.examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,13 @@
</div>
</div>

## Adjacent Buttons

const Button = require('semantic-ui-react').Button;
<div>
<Button>Good Button</Button>
<Button color='red'>Best Button</Button>
<Button color='purple'>!! OMG FAVORITE Button !!</Button>
</div>

See full input documentation [here](http://react.semantic-ui.com/elements/button)

0 comments on commit df8f15f

Please sign in to comment.