Skip to content

Commit

Permalink
fix: correct chevron icon size, closes #1045 (#1056)
Browse files Browse the repository at this point in the history
Co-authored-by: Jian Liao <[email protected]>
  • Loading branch information
jianliao and Jian Liao authored Oct 20, 2020
1 parent 3ac8b31 commit 12fb3cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/picker/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ governing permissions and limitations under the License.
position: relative;
vertical-align: top;
transition: color var(--spectrum-global-animation-duration-100) ease-out;
flex-shrink: 0;

/* Fix Safari 10 bug where align-items is ignored inside of buttons */
margin-block-start: calc(
Expand All @@ -131,6 +132,7 @@ governing permissions and limitations under the License.
/* Error icons */
.spectrum-Picker-trigger {
.spectrum-Icon:not(.spectrum-Picker-icon) {
flex-shrink: 0;
/* Fix Safari 10 bug where align-items is ignored inside of buttons */
margin-block-start: calc(
calc(
Expand Down

0 comments on commit 12fb3cc

Please sign in to comment.