Skip to content

Commit

Permalink
style(select): style select dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
insekkei committed Mar 25, 2022
1 parent 696c27b commit 986024d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/select/base/PopupContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,11 @@ const PopupContent = (props: SelectPopupProps) => {

return (
<div
className={classNames(`${classPrefix}-select__dropdown-inner`, `${classPrefix}-select__dropdown-inner--${size}`)}
className={classNames(`${classPrefix}-select__dropdown-inner`, {
[`${classPrefix}-select__dropdown-inner--size-s`]: size === 'small',
[`${classPrefix}-select__dropdown-inner--size-l`]: size === 'large',
[`${classPrefix}-select__dropdown-inner--size-m`]: size === 'medium',
})}
>
{panelTopContent}
{isEmpty && <div className={`${classPrefix}-select__empty`}>{empty ? empty : <p>{emptyText}</p>}</div>}
Expand Down

0 comments on commit 986024d

Please sign in to comment.