Skip to content

Commit

Permalink
fix(components): fix dropdown icon margin in secondary
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Jun 24, 2024
1 parent 30d2ade commit 55930e1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/Dropdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ const SecondaryDropdown = styled(RsuiteDropdown as any)<{
color: ${p => p.theme.color.lightGray};
}
> .Element-IconBox {
margin: 1px 8px 0 0;
}
> svg {
display: none;
}
Expand All @@ -124,6 +128,11 @@ const SecondaryDropdown = styled(RsuiteDropdown as any)<{
border-radius: 0;
padding: 0;
}
svg.rs-dropdown-item-menu-icon {
vertical-align: middle;
margin-right: 10px;
}
`

RawDropdown.displayName = 'Dropdown'
Expand Down

0 comments on commit 55930e1

Please sign in to comment.