Skip to content

Commit

Permalink
Merged in ashakya-style-106 (pull request #33)
Browse files Browse the repository at this point in the history
OWC-253 Resolved label issue for select control and tooltip positioining

Approved-by: Diego Garcia <dgarcia@vlocity.com>
Approved-by: Matt Goldspink <mgoldspink@vlocity.com>
  • Loading branch information
Avnesh Shakya authored and Jun Gao committed Jul 12, 2019
2 parents 7c18c99 + d135c14 commit a46434b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ui/components/combobox/base/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -371,3 +371,8 @@
box-shadow: 0 0 0 2px #fff inset, 0 0 0 3px $color-border inset;
}
}

.nds-combobox_container .nds-tooltip_container {
right: -0.6875rem;
top: 0.5rem;
}
19 changes: 19 additions & 0 deletions ui/components/form-element/animate/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -199,3 +199,22 @@ textarea:focus::placeholder {
.nds-form-element__control.nds-form-element__control-animated-label .nds-animated-label__ease-out {
transition: transform 200ms ease-out, font-size 200ms ease-out
}

.nds-combobox_container .nds-combobox__form-element.nds-form-element__control.nds-form-element__control-animated-label input[readonly] {
padding-left: 0;

&:focus {
box-shadow: none;
& ~ label {
transform: translate3d(0px, -1.2rem, 0px);
}
}

& ~ label {
transform: none;
}

&.nds-input.nds-not-empty.nds-is-dirty ~ label {
transform: translate3d(0px, -1.2rem, 0px);
}
}
5 changes: 5 additions & 0 deletions ui/components/tooltips/base/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,9 @@

.nds-radio-relative-tooltip .nds-tooltip_container {
top: -3px;
}

.nds-datetime-tooltip span {
position: relative;
top: 1.25rem;
}

0 comments on commit a46434b

Please sign in to comment.