Skip to content

Commit 9b53954

Browse files
committed
Support labels attached on both sides for input
1 parent a548b63 commit 9b53954

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/definitions/elements/input.less

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,15 +339,23 @@
339339
}
340340

341341
/* Regular Label on Right */
342-
.ui[class*="right labeled"].input > input {
342+
.ui[class*="right labeled"].input > input,
343+
.ui[class*="both sides labeled"].input > input {
343344
border-top-right-radius: 0px !important;
344345
border-bottom-right-radius: 0px !important;
345346
}
346-
.ui[class*="right labeled"].input > .label {
347+
.ui[class*="right labeled"].input > .label,
348+
.ui.both.sides.labeled.input > input + .label {
347349
border-top-left-radius: 0px;
348350
border-bottom-left-radius: 0px;
349351
}
350352

353+
/* Both Sides Labeled (redo right label radius) */
354+
.ui.both.sides.labeled.input > input + .label {
355+
border-top-right-radius: @borderRadius !important;
356+
border-bottom-right-radius: @borderRadius !important;
357+
}
358+
351359
/* Corner Label */
352360
.ui.labeled.input .corner.label {
353361
top: @labelCornerTop;

0 commit comments

Comments
 (0)