Skip to content

Commit

Permalink
fix(select): remove extended bg due to padding (#1168)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelbt committed Dec 23, 2021
1 parent 7a8ae89 commit 0651e8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/select/src/vwc-select.scss
Expand Up @@ -115,7 +115,7 @@ $vvd-select-size-block: --vvd-select-size-block;
transform: none;
}
&:not(.mdc-select--no-label) {
padding-top: 24px;
margin-top: 24px;
}
}
#{$vvd-select-size-block}: 40px;
Expand Down
Binary file modified ui-tests/snapshots/vwc-select.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions ui-tests/tests/vwc-select/index.js
Expand Up @@ -53,6 +53,7 @@ export async function createElementVariations(wrapper) {
</vwc-list-item>
</vwc-select>
<hr>
<div style="background-color: rebeccapurple">
<vwc-select label="VWC Select" helper="Helper Text" dense>
<vwc-list-item
mwc-list-item=""
Expand Down Expand Up @@ -100,6 +101,7 @@ export async function createElementVariations(wrapper) {
Item 3
</vwc-list-item>
</vwc-select de>
</div>
<hr>
<div style="display: flex; align-items: flex-start;">
<p style="margin: 0; padding-right: 1rem;">Dense-with label</p>
Expand Down

0 comments on commit 0651e8f

Please sign in to comment.