Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing prettier issue in form filed #318

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- https://scheduleonce.atlassian.net/browse/ONCEHUB-3942


## [1.6.1] - 2019-01-10

### Added
Expand Down
18 changes: 11 additions & 7 deletions projects/ui/src/lib/oui/form-field/_form-field-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,21 @@ $form-field-transition-border: border 0.5s;
line-height: $form-field-line-height;
background: $form-field-default-background;
font-weight: normal;
transition:$form-field-transition-border;
&::-webkit-input-placeholder { /* Chrome/Opera/Safari */
transition: $form-field-transition-border;
&::-webkit-input-placeholder {
/* Chrome/Opera/Safari */
color: $form-field-color-placeholder;
}
&::-moz-placeholder { /* Firefox 19+ */
&::-moz-placeholder {
/* Firefox 19+ */
color: $form-field-color-placeholder;
}
&:-ms-input-placeholder { /* IE 10+ */
&:-ms-input-placeholder {
/* IE 10+ */
color: $form-field-color-placeholder;
}
&:-moz-placeholder { /* Firefox 18- */
&:-moz-placeholder {
/* Firefox 18- */
color: $form-field-color-placeholder;
}
&:disabled {
Expand Down Expand Up @@ -116,8 +120,8 @@ $form-field-transition-border: border 0.5s;
.oui-input {
border: 0;
border-bottom: $form-field-border-bottom;
padding-left:1px;
padding-right:1px;
padding-left: 1px;
padding-right: 1px;
&:focus ~ .bottom-line {
background-color: map-get($primary, lighter);
}
Expand Down
2 changes: 0 additions & 2 deletions projects/ui/src/lib/oui/input/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,3 @@ However, if there's no label specified in the form field, aria-label, aria-label
### Stackblitz demo link

https://stackblitz.com/edit/oui-form-field-component