Missions
diff --git a/src/components/frontend/logistics/ResourceCard.tsx b/src/components/frontend/logistics/ResourceCard.tsx
index 68ed594b..9bd7e9ed 100644
--- a/src/components/frontend/logistics/ResourceCard.tsx
+++ b/src/components/frontend/logistics/ResourceCard.tsx
@@ -100,7 +100,7 @@ export function ResourceCard({ resource }: ResourceCardProps) {
className="cursor-pointer group transition-all duration-200 hover:scale-[1.01] hover:[box-shadow:inset_0_2px_8px_rgba(255,255,255,0.33)]"
>
-
+
{icon ? (
@@ -115,12 +115,14 @@ export function ResourceCard({ resource }: ResourceCardProps) {
) : (
{typeIcons[resource.type]}
)}
-
- {resource.codeName}
- {resource.name}
+
+
+ {resource.codeName}
+
+ {resource.name}
-
+
@@ -135,9 +137,6 @@ export function ResourceCard({ resource }: ResourceCardProps) {
- {truncatedDescription && (
-
{truncatedDescription}
- )}
{resource.baseValue.toLocaleString()} credits
@@ -155,10 +154,10 @@ export function ResourceCard({ resource }: ResourceCardProps) {
-
+
{truncatedDescription ?? `${resource.type} resource (${resource.unitOfMeasure})`}
-
+
View details
diff --git a/src/components/frontend/minigames/StandingsTable.tsx b/src/components/frontend/minigames/StandingsTable.tsx
index f5d63c02..a73a9fb9 100644
--- a/src/components/frontend/minigames/StandingsTable.tsx
+++ b/src/components/frontend/minigames/StandingsTable.tsx
@@ -40,7 +40,8 @@ export function StandingsTable({
}
return (
-
+
+
| # |
@@ -73,6 +74,7 @@ export function StandingsTable({
);
})}
-
+
+
);
}
diff --git a/src/components/frontend/minigames/blackjack/BlackjackArena.tsx b/src/components/frontend/minigames/blackjack/BlackjackArena.tsx
index 8879d71f..1839874b 100644
--- a/src/components/frontend/minigames/blackjack/BlackjackArena.tsx
+++ b/src/components/frontend/minigames/blackjack/BlackjackArena.tsx
@@ -299,7 +299,7 @@ export function BlackjackArena({
)}
-
+
{view === "lobby" ? (
) : (
-
+
+
| # |
@@ -191,6 +192,7 @@ export function FlappyLeaderboard({ refreshKey = 0, currentUserId, activePilots
))}
+
)}
);
diff --git a/src/components/frontend/roster/RosterView.tsx b/src/components/frontend/roster/RosterView.tsx
index 1baecee4..527431b2 100644
--- a/src/components/frontend/roster/RosterView.tsx
+++ b/src/components/frontend/roster/RosterView.tsx
@@ -599,7 +599,7 @@ export function RosterView({
return (
-
+
diff --git a/src/components/ui/item.tsx b/src/components/ui/item.tsx
index fc496f4f..e53410e2 100644
--- a/src/components/ui/item.tsx
+++ b/src/components/ui/item.tsx
@@ -142,7 +142,9 @@ function ItemHeader({ className, ...props }: React.ComponentProps<"div">) {
return (
);
@@ -152,7 +154,7 @@ function ItemFooter({ className, ...props }: React.ComponentProps<"div">) {
return (
);
diff --git a/src/components/ui/tabs.tsx b/src/components/ui/tabs.tsx
index 21375c2a..bd069bba 100644
--- a/src/components/ui/tabs.tsx
+++ b/src/components/ui/tabs.tsx
@@ -9,7 +9,9 @@ import { cn } from "@/lib/utils";
const Tabs = TabsPrimitive.Root;
const tabsListVariants = cva(
- "inline-flex items-center justify-center text-muted-foreground",
+ // max-w-full + overflow-x-auto keep multi-tab lists from widening the page
+ // on narrow screens: they scroll horizontally instead.
+ "inline-flex max-w-full items-center justify-center overflow-x-auto text-muted-foreground [scrollbar-width:none]",
{
variants: {
variant: {
@@ -62,7 +64,7 @@ const TabsContent = React.forwardRef<