diff --git a/src/components/ReactionPopover/ReactionPopover.tsx b/src/components/ReactionPopover/ReactionPopover.tsx
index 298e286..48d5c03 100644
--- a/src/components/ReactionPopover/ReactionPopover.tsx
+++ b/src/components/ReactionPopover/ReactionPopover.tsx
@@ -8,6 +8,7 @@ import {
Overlay,
} from "../../styles/ReactionPopoverStyles";
import { PopoverProps } from "../../types";
+import { CloseSvg } from "../svg/CloseSvg";
export const ReactionPopover = (props: PopoverProps) => {
const {
@@ -57,7 +58,7 @@ export const ReactionPopover = (props: PopoverProps) => {
className={"rqr-close-button " + closeButtonClass}
onClick={() => setIsPopoverVisible(false)}
>
- {closeButtonAlt ? closeButtonAlt : "X"}
+ {closeButtonAlt ? closeButtonAlt : }
)}
{!hideHeader && (
diff --git a/src/components/svg/CloseSvg.tsx b/src/components/svg/CloseSvg.tsx
new file mode 100644
index 0000000..a6572a8
--- /dev/null
+++ b/src/components/svg/CloseSvg.tsx
@@ -0,0 +1,14 @@
+export const CloseSvg = () => {
+ return (
+
+ );
+};
diff --git a/src/styles/ReactionPopoverStyles.ts b/src/styles/ReactionPopoverStyles.ts
index 4a2ce8b..b4272d4 100644
--- a/src/styles/ReactionPopoverStyles.ts
+++ b/src/styles/ReactionPopoverStyles.ts
@@ -53,7 +53,6 @@ export const OuterDiv = styled.div<{
`;
export const CloseButton = styled.span`
- color: lightgrey;
position: absolute;
top: 4px;
right: 8px;
@@ -61,12 +60,16 @@ export const CloseButton = styled.span`
cursor: pointer;
font-weight: bold;
+ fill: lightgrey;
:hover {
- color: #969696;
+ > svg {
+ fill: #969696;
+ }
}
-
:active {
- color: #434343;
+ > svg {
+ fill: #434343;
+ }
}
`;