Browse Source

Fix #2782 left icon corner labeled input

pull/2850/head
Jack Lukic 9 years ago
parent
commit
7ad53275ce
2 changed files with 7 additions and 6 deletions
  1. 1
      RELEASE-NOTES.md
  2. 12
      src/definitions/elements/input.less

1
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**

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

Loading…
Cancel
Save