Skip to content

Commit

Permalink
Added text field dashicons support for CF 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmhendricks committed Dec 17, 2018
1 parent d7789d9 commit afa7205
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/scss/_carbon-fields.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Carbon Fields style
*/

div[id^='carbon_fields_container_'] {
div[id^="carbon_fields_container_"] {

// Change the default Carbon Fields H3 header font size
div.carbon-separator {
Expand All @@ -18,7 +18,7 @@ div[id^='carbon_fields_container_'] {
padding-left: 29px;
}

.field-holder {
.field-holder, .cf-field__body {

&:before {
position: absolute;
Expand All @@ -34,19 +34,19 @@ div[id^='carbon_fields_container_'] {

// Input field background dashicons
.carbon-fields-custom-field-url {
.field-holder:before {
.field-holder:before, .cf-field__body:before {
content: '\f319';
}
}

.carbon-fields-custom-field-email {
.field-holder:before {
.field-holder:before, .cf-field__body:before {
content: '\f466';
}
}

.carbon-fields-custom-field-tel {
.field-holder:before {
.field-holder:before, .cf-field__body:before {
content: '\f525';
}
}
Expand Down

0 comments on commit afa7205

Please sign in to comment.