From 7ad53275ced866e20e4d5a8ea29305916b19beac Mon Sep 17 00:00:00 2001 From: Jack Lukic Date: Wed, 12 Aug 2015 15:13:28 -0400 Subject: [PATCH] Fix #2782 left icon corner labeled input --- RELEASE-NOTES.md | 1 + src/definitions/elements/input.less | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 7529b9ef5..7b62b9cf3 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -48,6 +48,7 @@ - **Dropdown** - `forceSelection` no longer sets current value in search selection when current query is blank #2058 - **Dropdown** - Fixed issue where "no results" message would be still be visible before search query on input focus #2824 - **Dropdown** - Fixed issue where selected item would not be shown when being re-shown after filtering with single search selection #2824 +- **Input** - Fixed issue with appearance of `left corner labeled left icon input` #2782 **[Community Bug Fixes](https://github.com/Semantic-Org/Semantic-UI/issues?q=is%3Aissue+milestone%3A2.1.0+is%3Aclosed)** - **Menu** - Fixes tabular menu missing variable for background. **Thanks @frontdevde** diff --git a/src/definitions/elements/input.less b/src/definitions/elements/input.less index 99051fa33..a22394f95 100755 --- a/src/definitions/elements/input.less +++ b/src/definitions/elements/input.less @@ -361,24 +361,24 @@ } /* Spacing with corner label */ -.ui[class*="corner labeled"]:not(.left).labeled.input input { +.ui[class*="corner labeled"]:not([class*="left corner labeled"]).labeled.input input { padding-right: @labeledMargin !important; } -.ui[class*="corner labeled"].icon.input:not(.left) > input { +.ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > input { padding-right: @labeledIconInputMargin !important; } -.ui[class*="corner labeled"].icon.input:not(.left) > .icon { +.ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > .icon { margin-right: @labeledIconMargin; } /* Left Labeled */ -.ui[class*="corner labeled"].left.labeled.input input { +.ui[class*="left corner labeled"].labeled.input input { padding-left: @labeledMargin !important; } -.ui[class*="corner labeled"].icon.input.left > input { +.ui[class*="left corner labeled"].icon.input > input { padding-left: @labeledIconInputMargin !important; } -.ui[class*="corner labeled"].icon.input.left > .icon { +.ui[class*="left corner labeled"].icon.input > .icon { margin-left: @labeledIconMargin; }