Browse Source

Revert "fix(select): Fix Typography component is not centered in the Select component (#40422)" (#43097)

This reverts commit 2e9d14f282.
pull/43133/head
JiaQi 1 year ago
committed by GitHub
parent
commit
8afeb6bbc0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      components/select/style/dropdown.tsx
  2. 5
      components/select/style/index.tsx

4
components/select/style/dropdown.tsx

@ -104,10 +104,6 @@ const genSingleStyle: GenerateStyle<SelectToken> = (token) => {
'&-content': {
flex: 'auto',
...textEllipsis,
'> *': {
...textEllipsis,
},
},
'&-state': {

5
components/select/style/index.tsx

@ -144,11 +144,6 @@ const genBaseStyle: GenerateStyle<SelectToken> = (token) => {
flex: 1,
fontWeight: 'normal',
...textEllipsis,
'> *': {
lineHeight: 'inherit',
...textEllipsis,
},
},
// ======================= Placeholder =======================

Loading…
Cancel
Save