diff --git a/src/definitions/elements/label.less b/src/definitions/elements/label.less index 85aa8c7ad..fee250c83 100755 --- a/src/definitions/elements/label.less +++ b/src/definitions/elements/label.less @@ -168,7 +168,7 @@ a.ui.label { height: @imageLabelImageHeight; margin: @imageLabelImageMargin; - border-radius: @imageLabelBorderRadius; + border-radius: @imageLabelImageBorderRadius; } .ui.image.label .detail { diff --git a/src/themes/default/elements/label.variables b/src/themes/default/elements/label.variables index 1a09d7708..8bf92154b 100644 --- a/src/themes/default/elements/label.variables +++ b/src/themes/default/elements/label.variables @@ -56,19 +56,19 @@ /* Image Label */ @imageLabelBackground: @backgroundColor; -@imageLabelBorderRadius: @circularRadius; @imageLabelVerticalPadding: @verticalPadding; @imageLabelHorizontalPadding: @horizontalPadding; @imageLabelTextDistance: 0.5em; @imageLabelDetailDistance: @imageLabelTextDistance; @imageLabelBorderRadius: @borderRadius; @imageLabelBoxShadow: none; -@imageLabelDetailBackground: @strongTransparentBlack; - -/* Computed Values */ -@imageLabelImageHeight: (1em + @verticalPadding * 2); @imageLabelPadding: @imageLabelVerticalPadding @imageLabelHorizontalPadding @imageLabelVerticalPadding @imageLabelTextDistance; + @imageLabelImageMargin: -@verticalPadding @imageLabelTextDistance -@verticalPadding -@imageLabelTextDistance; +@imageLabelImageBorderRadius: @imageLabelBorderRadius 0em 0em @imageLabelBorderRadius; +@imageLabelImageHeight: (1em + @verticalPadding * 2); + +@imageLabelDetailBackground: @strongTransparentBlack; @imageLabelDetailPadding: @imageLabelVerticalPadding @imageLabelHorizontalPadding; @imageLabelDetailMargin: -@imageLabelVerticalPadding -@imageLabelHorizontalPadding -@imageLabelVerticalPadding @imageLabelDetailDistance;