Skip to content

Commit

Permalink
fix(select): unneeded top padding (#1144)
Browse files Browse the repository at this point in the history
* fix(select): unneeded top padding

* padding fix
  • Loading branch information
rachelbt committed Dec 7, 2021
1 parent 2cbfa5f commit 5ca233d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/select/src/vwc-select.scss
Expand Up @@ -102,8 +102,6 @@ $vvd-select-size-block: --vvd-select-size-block;
}

:host([dense]) {
padding-top: 24px;

.mdc-select__selected-text {
padding: 0;
}
Expand All @@ -116,6 +114,9 @@ $vvd-select-size-block: --vvd-select-size-block;
left: -12px;
transform: none;
}
&:not(.mdc-select--no-label) {
padding-top: 24px;
}
}
#{$vvd-select-size-block}: 40px;
}
Expand Down

0 comments on commit 5ca233d

Please sign in to comment.