diff --git a/react-app/src/component/ColorSelector/ColorSelectorAccordion.tsx b/react-app/src/component/ColorSelector/ColorSelectorAccordion.tsx index c687ea26..d7dde017 100644 --- a/react-app/src/component/ColorSelector/ColorSelectorAccordion.tsx +++ b/react-app/src/component/ColorSelector/ColorSelectorAccordion.tsx @@ -48,38 +48,41 @@ export const ColorSelectorAccordion = (props: any) => { className="Container" style={{ width: "316px", - position: "absolute", + // position: "absolute", zIndex: 1000, top: getColorSelectorPosition(props.position, props.isHorizontal).top, left: getColorSelectorPosition(props.position, props.isHorizontal).left, }} > - {!props.isModal && ( -
- { - e.preventDefault(); - const target = e.target as SVGAElement; - target.style.color = "#1099a5"; - }} - onMouseOut={(e) => { - const target = e.target as SVGAElement; - target.style.color = "#007079"; - }} - onClick={props.setIsOpen} - /> -
- )} - Color Scales + + Color Scales + {!props.isModal && ( +
+ { + e.preventDefault(); + const target = e.target as SVGAElement; + target.style.color = "#1099a5"; + }} + onMouseOut={(e) => { + const target = e.target as SVGAElement; + target.style.color = "#007079"; + }} + onClick={props.setIsOpen} + /> +
+ )} +
+ diff --git a/react-app/src/component/Legend/ContinuousLegend.tsx b/react-app/src/component/Legend/ContinuousLegend.tsx index 7c2444a3..90bfe5d5 100644 --- a/react-app/src/component/Legend/ContinuousLegend.tsx +++ b/react-app/src/component/Legend/ContinuousLegend.tsx @@ -401,8 +401,8 @@ export const ContinuousLegend: React.FC = ({ return (
= ({ return (