Skip to content

Commit

Permalink
updating modified dropdown styles
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarrramsey committed Nov 8, 2024
1 parent 767358e commit e824077
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions weave-js/src/common/components/elements/ModifiedDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,11 @@ const ModifiedDropdown: FC<ModifiedDropdownProps> = React.memo(
</div>
);
};
console.log('passProps', passProps);
return wrapWithDragDrop(
<Dropdown
{...passProps}
// className='ui selection dropdown custom-modified-dropdown"'
options={displayOptions}
lazyLoad
selectOnNavigation={false}
Expand Down Expand Up @@ -507,6 +509,10 @@ export const OptionWithTooltip: React.FC<OptionWithTooltipProps> = ({text}) => {
whiteSpace: 'nowrap',
overflow: 'hidden',
textOverflow: 'ellipsis',
padding: '4px 8px',
height: '32px',
display: 'flex',
alignItems: 'center',
}}>
{showTooltip ? (
<Tooltip
Expand All @@ -525,6 +531,7 @@ export const OptionWithTooltip: React.FC<OptionWithTooltipProps> = ({text}) => {
trigger={<span>{text}</span>}
/>
) : (
// <span style={{padding: '8px', overflow: 'hidden'}}>{text}</span>
text
)}
</div>
Expand Down

0 comments on commit e824077

Please sign in to comment.