From 9b53954f7727d659885e5b1a20c00cc897b68e79 Mon Sep 17 00:00:00 2001 From: Alberto Maturano Date: Thu, 27 Aug 2015 17:24:01 -0500 Subject: [PATCH] Support labels attached on both sides for input --- src/definitions/elements/input.less | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/definitions/elements/input.less b/src/definitions/elements/input.less index c87f35091..cd1fb954e 100755 --- a/src/definitions/elements/input.less +++ b/src/definitions/elements/input.less @@ -339,15 +339,23 @@ } /* Regular Label on Right */ -.ui[class*="right labeled"].input > input { +.ui[class*="right labeled"].input > input, +.ui[class*="both sides labeled"].input > input { border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; } -.ui[class*="right labeled"].input > .label { +.ui[class*="right labeled"].input > .label, +.ui.both.sides.labeled.input > input + .label { border-top-left-radius: 0px; border-bottom-left-radius: 0px; } +/* Both Sides Labeled (redo right label radius) */ +.ui.both.sides.labeled.input > input + .label { + border-top-right-radius: @borderRadius !important; + border-bottom-right-radius: @borderRadius !important; +} + /* Corner Label */ .ui.labeled.input .corner.label { top: @labelCornerTop;