From 968899e8ac4ce1bd3eca1fbd79493e7cd6529f3d Mon Sep 17 00:00:00 2001 From: James Hadfield Date: Mon, 28 Mar 2022 12:28:55 +1300 Subject: [PATCH] Remove commented code Note that we now have a custom-styled react-select component via PR #1482. --- src/components/controls/styles.js | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/components/controls/styles.js b/src/components/controls/styles.js index 1fca02af0..45555053f 100644 --- a/src/components/controls/styles.js +++ b/src/components/controls/styles.js @@ -78,32 +78,6 @@ export const SidebarIconContainer = styled.span` color: #888; `; -/* React Select is a lot of work to style - * I can't yet get it working with styled components - * We import the theme here, rather than accessing it via the - */ -// const customReactSelectStyles = { -// container: (provided, state) => { -// console.log(provided); -// return { -// ...provided, -// height: "20px" -// }; -// }, -// control: (provided, state) => { -// return { -// ...provided, -// color: "yellow", -// backgroundColor: "pink", -// borderColor: "red", -// height: "20px" -// }; -// } -// }; -// export const Select = (props) => ( -// -// ); - export const StyledTooltip = styled(ReactTooltip)` max-width: 30vh; white-space: normal;