Skip to content
Snippets Groups Projects
Commit 74da6576 authored by Kyle Doherty's avatar Kyle Doherty Committed by Cam Saül
Browse files

change icon positioning. fixes #4116 (#4162)

parent 50e2e89e
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,6 @@
}
.ColumnarSelector-row .Icon-check {
margin-right: var(--margin-2);
visibility: hidden;
}
......
......@@ -138,11 +138,19 @@ export class Option extends Component {
"disabled": disabled
})}
>
<Icon name="check" size={14} />
<Icon name="check" size={14} style={{ position: 'absolute' }} />
{ icon &&
<Icon name={icon} style={{ position: "absolute", color: iconColor, visibility: !selected ? "visible" : "hidden" }} size={iconSize} />
<Icon
name={icon}
size={iconSize}
style={{
position: 'absolute',
color: iconColor,
visibility: !selected ? "visible" : "hidden"
}}
/>
}
{children}
<span className="ml4">{children}</span>
</div>
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment