Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for #1875 | buttons and tags group sizing (are-small/are-medium/are-large) #2201

Merged
merged 3 commits into from
Oct 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions sass/elements/button.sass
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,16 @@ $button-static-border-color: $grey-lighter !default
margin-bottom: -0.5rem
&:not(:last-child)
margin-bottom: 1rem
// Sizes
&.are-small
.button
+button-small
&.are-medium
.button
+button-medium
&.are-large
.button
+button-large
&.has-addons
.button
&:not(:first-child)
Expand Down
16 changes: 16 additions & 0 deletions sass/elements/tag.sass
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,22 @@ $tag-delete-margin: 1px !default
margin-bottom: -0.5rem
&:not(:last-child)
margin-bottom: 1rem
// Sizes
&.are-medium
.tag
font-size: $size-normal
&.are-large
.tag
font-size: $size-medium
&.has-addons
.tag
margin-right: 0
&:not(:first-child)
border-bottom-left-radius: 0
border-top-left-radius: 0
&:not(:last-child)
border-bottom-right-radius: 0
border-top-right-radius: 0
&.is-centered
justify-content: center
.tag
Expand Down