Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ import { Select } from 'src/components/Select';
import { Tooltip } from 'src/common/components/Tooltip';
import ControlHeader from '../ControlHeader';

import './ColorSchemeControl.less';

const propTypes = {
description: PropTypes.string,
label: PropTypes.string.isRequired,
Expand Down Expand Up @@ -74,11 +72,26 @@ export default class ColorSchemeControl extends React.PureComponent {

return (
<Tooltip id={`${currentScheme.id}-tooltip`} title={currentScheme.label}>
<ul className="color-scheme-container" data-test={currentScheme.id}>
<ul
css={{
Comment thread
rusackas marked this conversation as resolved.
listStyle: 'none',
margin: 0,
padding: 0,
display: 'flex',
alignItems: 'center',

'& li': {
flexBasis: 9,
height: 10,
margin: '9px 1px',
},
}}
data-test={currentScheme.id}
>
{colors.map((color, i) => (
<li
key={`${currentScheme.id}-${i}`}
style={{
css={{
Comment thread
rusackas marked this conversation as resolved.
backgroundColor: color,
border: `1px solid ${color === 'white' ? 'black' : color}`,
}}
Expand Down

This file was deleted.