From 3cacf50398f74e65ecf543815e06d6cd2a61cff5 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Thu, 3 Dec 2026 23:44:08 -0600 Subject: [PATCH] radix tooltip --- .../LoadoutConsumables/index.module.css | 19 +++----- .../components/LoadoutConsumables/index.tsx | 2 +- .../src/components/Tooltip/index.module.css | 44 +++++------------ .../website/src/components/Tooltip/index.tsx | 47 +++++++++---------- 4 files changed, 42 insertions(+), 70 deletions(-) diff --git a/packages/website/src/components/LoadoutConsumables/index.module.css b/packages/website/src/components/LoadoutConsumables/index.module.css index 909a1a5c6..c2a512405 100644 --- a/packages/website/src/components/LoadoutConsumables/index.module.css +++ b/packages/website/src/components/LoadoutConsumables/index.module.css @@ -9,25 +9,20 @@ .wrapper { display: flex; flex-direction: column; - align-items: center; gap: var(--space-2); - .tooltip { + .consumable { width: 100%; - .consumable { - width: 100%; + font-size: var(--space-5); - font-size: var(--space-5); + .info { + display: flex; + flex-direction: column; - .info { + .entry { display: flex; - flex-direction: column; - - .entry { - display: flex; - gap: var(--space-2); - } + gap: var(--space-2); } } } diff --git a/packages/website/src/components/LoadoutConsumables/index.tsx b/packages/website/src/components/LoadoutConsumables/index.tsx index 2e6737cac..7d48f96b8 100644 --- a/packages/website/src/components/LoadoutConsumables/index.tsx +++ b/packages/website/src/components/LoadoutConsumables/index.tsx @@ -49,7 +49,7 @@ function Content({ tank, gun, selected, onToggle }: ContentProps) { return (