Skip to content

Commit

Permalink
Adjusted rendering to remove wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
thechriskent committed Mar 18, 2018
1 parent cd45dad commit c631187
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Expand Up @@ -1431,7 +1431,9 @@ export class IconsDropdown extends React.Component<IIconsDropdownProps, IIconsDr
@autobind
private onRenderOption(option:IDropdownOption): JSX.Element {
return (
<div>
<div style={{
whiteSpace: 'nowrap'
}}>
<Icon
style={{marginRight:'6px',color:this.props.color?this.props.color:'inherit'}}
iconName={option.key.toString()}
Expand Down
Expand Up @@ -81,7 +81,9 @@ export class StandardColorsDropdown extends React.Component<IStandardColorsDropd
@autobind
private onRenderOption(option:IDropdownOption): JSX.Element {
return (
<div>
<div style={{
whiteSpace: 'nowrap'
}}>
<div style={{
backgroundColor:option.key,
width:'12px',
Expand Down

0 comments on commit c631187

Please sign in to comment.