From 2d2c8f7a303f5ba5793cfe645cb9a5fca4e0777b Mon Sep 17 00:00:00 2001 From: May Kittens Devour Your Soul Date: Wed, 31 Oct 2018 19:57:58 +0100 Subject: [PATCH] Fix for #1875 | buttons and tags group sizing (are-small/are-medium/are-large) (#2201) * Update button.sass button grouping sizes * Update tag.sass --- sass/elements/button.sass | 10 ++++++++++ sass/elements/tag.sass | 16 ++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/sass/elements/button.sass b/sass/elements/button.sass index 11461364..0204f3ad 100644 --- a/sass/elements/button.sass +++ b/sass/elements/button.sass @@ -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) diff --git a/sass/elements/tag.sass b/sass/elements/tag.sass index 25db0fe6..43df0683 100644 --- a/sass/elements/tag.sass +++ b/sass/elements/tag.sass @@ -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