aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/reviewDB/components/ReviewBadge.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/reviewDB/components/ReviewBadge.tsx')
-rw-r--r--src/plugins/reviewDB/components/ReviewBadge.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/reviewDB/components/ReviewBadge.tsx b/src/plugins/reviewDB/components/ReviewBadge.tsx
index 8c013cd..e65dff2 100644
--- a/src/plugins/reviewDB/components/ReviewBadge.tsx
+++ b/src/plugins/reviewDB/components/ReviewBadge.tsx
@@ -18,7 +18,8 @@
import { MaskedLinkStore, Tooltip } from "@webpack/common";
-import { Badge } from "../entities/Badge";
+import { Badge } from "../entities";
+import { cl } from "../utils";
export default function ReviewBadge(badge: Badge) {
return (
@@ -26,13 +27,13 @@ export default function ReviewBadge(badge: Badge) {
text={badge.name}>
{({ onMouseEnter, onMouseLeave }) => (
<img
+ className={cl("badge")}
width="24px"
height="24px"
onMouseEnter={onMouseEnter}
onMouseLeave={onMouseLeave}
src={badge.icon}
alt={badge.description}
- style={{ verticalAlign: "middle", marginLeft: "4px" }}
onClick={() =>
MaskedLinkStore.openUntrustedLink({
href: badge.redirectURL,