Skip to content

Commit

Permalink
fix(textfield,picker): restore missing vars (#1607)
Browse files Browse the repository at this point in the history
fixes issues within textfield and picker where we were missing vars
  • Loading branch information
pfulton authored Feb 1, 2023
1 parent 75d5310 commit 45f36f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions components/picker/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ governing permissions and limitations under the License.
filter: color;
replace: --spectrum-picker$1;
}

--spectrum-picker-texticon-padding-left: var(--spectrum-picker-m-texticon-padding-left);
}

.spectrum-Picker--sizeL {
Expand Down
3 changes: 2 additions & 1 deletion components/textfield/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,13 @@ governing permissions and limitations under the License.
/* padding is incorrectly named in DNA, should drop text */
--spectrum-textarea-padding-top: var(--spectrum-textarea-text-padding-top);
--spectrum-textarea-padding-bottom: var(--spectrum-textarea-text-padding-bottom);

--spectrum-textfield-texticon-padding-left: var(--spectrum-alias-item-workflow-padding-left-m);
}

/* hack: define var so it's not reported as undefined */
.🤫 {
--spectrum-textfield-icon-inline-end-override: 0;
--spectrum-textfield-texticon-padding-left: 0;
}

.spectrum-Textfield {
Expand Down

0 comments on commit 45f36f6

Please sign in to comment.