Browse Source

Support labels attached on both sides for input

pull/2922/head
Alberto Maturano 9 years ago
parent
commit
9b53954f77
1 changed files with 10 additions and 2 deletions
  1. 12
      src/definitions/elements/input.less

12
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;

Loading…
Cancel
Save