small stuff
CI / test (push) Successful in 5s

This commit is contained in:
2026-02-01 08:43:31 -05:00
parent 775ee0f691
commit 140b83bd65
4 changed files with 28 additions and 24 deletions
+14 -14
View File
@@ -1523,25 +1523,25 @@ function GunbuilderPageContent() {
)} )}
<div className="overflow-x-auto rounded-md border border-zinc-800 bg-zinc-950/80"> <div className="overflow-x-auto rounded-md border border-zinc-800 bg-zinc-950/80">
<table className="min-w-full text-xs md:text-sm"> <table className="min-w-full text-[11px] sm:text-xs md:text-sm">
<thead> <thead>
<tr className="border-b border-zinc-800 bg-zinc-900/60"> <tr className="border-b border-zinc-800 bg-zinc-900/60">
<th className="px-3 py-2 text-left font-semibold text-zinc-400"> <th className="px-2 sm:px-3 py-2 text-left font-semibold text-zinc-400">
Component / Part Type Component / Part Type
</th> </th>
<th className="px-3 py-2 text-left font-semibold text-zinc-400"> <th className="hidden sm:table-cell px-2 sm:px-3 py-2 text-left font-semibold text-zinc-400">
Brand Brand
</th> </th>
<th className="px-3 py-2 text-right font-semibold text-zinc-400"> <th className="px-2 sm:px-3 py-2 text-right font-semibold text-zinc-400">
Price Price
</th> </th>
<th className="px-3 py-2 text-right font-semibold text-zinc-400"> <th className="hidden md:table-cell px-2 sm:px-3 py-2 text-right font-semibold text-zinc-400">
Sale Price Sale Price
</th> </th>
<th className="px-3 py-2 text-left font-semibold text-zinc-400"> <th className="hidden md:table-cell px-2 sm:px-3 py-2 text-left font-semibold text-zinc-400">
Caliber Caliber
</th> </th>
<th className="px-3 py-2 text-right font-semibold text-zinc-400"> <th className="px-2 sm:px-3 py-2 text-right font-semibold text-zinc-400">
Buy / Choose Buy / Choose
</th> </th>
</tr> </tr>
@@ -1557,7 +1557,7 @@ function GunbuilderPageContent() {
> >
<td <td
colSpan={6} colSpan={6}
className="px-3 py-2 text-[0.7rem] text-zinc-500 bg-zinc-950/70" className="px-2 sm:px-3 py-2 text-[0.7rem] text-zinc-500 bg-zinc-950/70"
> >
<div className="flex items-center justify-between gap-2"> <div className="flex items-center justify-between gap-2">
<div className="font-semibold text-zinc-400"> <div className="font-semibold text-zinc-400">
@@ -1606,7 +1606,7 @@ function GunbuilderPageContent() {
row.tone === "muted" ? "opacity-70" : "" row.tone === "muted" ? "opacity-70" : ""
}`} }`}
> >
<td className="px-3 py-2 align-top"> <td className="px-2 sm:px-3 py-2 align-top">
<div className="flex items-start gap-2"> <div className="flex items-start gap-2">
{indent > 0 && ( {indent > 0 && (
<div <div
@@ -1654,24 +1654,24 @@ function GunbuilderPageContent() {
</div> </div>
</td> </td>
<td className="px-3 py-2 align-top text-zinc-300"> <td className="hidden sm:table-cell px-2 sm:px-3 py-2 align-top text-zinc-300">
{selectedPart ? selectedPart.brand : "—"} {selectedPart ? selectedPart.brand : "—"}
</td> </td>
<td className="px-3 py-2 align-top text-right text-amber-300"> <td className="px-2 sm:px-3 py-2 align-top text-right text-amber-300">
{selectedPart {selectedPart
? `$${selectedPart.price.toFixed(2)}` ? `$${selectedPart.price.toFixed(2)}`
: "—"} : "—"}
</td> </td>
<td className="px-3 py-2 align-top text-right text-zinc-400"> <td className="hidden md:table-cell px-2 sm:px-3 py-2 align-top text-right text-zinc-400">
</td> </td>
<td className="px-3 py-2 align-top text-zinc-400"> <td className="hidden md:table-cell px-2 sm:px-3 py-2 align-top text-zinc-400">
</td> </td>
<td className="px-3 py-2 align-top"> <td className="px-2 sm:px-3 py-2 align-top">
<div className="flex justify-end gap-2"> <div className="flex justify-end gap-2">
{isLocked ? ( {isLocked ? (
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
-6
View File
@@ -168,12 +168,6 @@ export default function AdminLayout({
</p> </p>
<p className="text-sm text-zinc-200">Battl Control Panel</p> <p className="text-sm text-zinc-200">Battl Control Panel</p>
</div> </div>
<div className="flex items-center gap-3">
<span className="rounded-full border border-amber-500/30 bg-amber-500/10 px-3 py-1 text-[11px] font-medium text-amber-300">
Internal v0.1
</span>
</div>
</header> </header>
{/* ✅ min-w-0 here prevents table min-width from widening the page */} {/* ✅ min-w-0 here prevents table min-width from widening the page */}
+4 -4
View File
@@ -56,7 +56,7 @@ export function TopNav() {
</Link> </Link>
{/* Right side actions */} {/* Right side actions */}
<div className="flex items-center gap-4"> <div className="flex items-center justify-end gap-3 sm:gap-4">
<ThemeToggle /> <ThemeToggle />
{loading ? ( {loading ? (
@@ -83,7 +83,7 @@ export function TopNav() {
</button> </button>
</> </>
) : ( ) : (
<> <div className="flex flex-col items-end gap-2 sm:flex-row sm:items-center sm:gap-4">
<NavLink href="/login">Log In</NavLink> <NavLink href="/login">Log In</NavLink>
<Link <Link
@@ -92,11 +92,11 @@ export function TopNav() {
> >
Join Beta Join Beta
</Link> </Link>
</> </div>
)} )}
</div> </div>
</div> </div>
</header> </header>
); );
} }
export default TopNav; export default TopNav;
+10
View File
@@ -1647,6 +1647,7 @@
"integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"peer": true,
"bin": { "bin": {
"acorn": "bin/acorn" "acorn": "bin/acorn"
}, },
@@ -2087,6 +2088,7 @@
} }
], ],
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"baseline-browser-mapping": "^2.9.0", "baseline-browser-mapping": "^2.9.0",
"caniuse-lite": "^1.0.30001759", "caniuse-lite": "^1.0.30001759",
@@ -2768,6 +2770,7 @@
"deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1", "@eslint-community/regexpp": "^4.6.1",
@@ -2936,6 +2939,7 @@
"integrity": "sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==", "integrity": "sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"@rtsao/scc": "^1.1.0", "@rtsao/scc": "^1.1.0",
"array-includes": "^3.1.9", "array-includes": "^3.1.9",
@@ -5172,6 +5176,7 @@
} }
], ],
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"nanoid": "^3.3.7", "nanoid": "^3.3.7",
"picocolors": "^1.0.0", "picocolors": "^1.0.0",
@@ -5393,6 +5398,7 @@
"resolved": "https://registry.npmjs.org/quill-delta/-/quill-delta-5.1.0.tgz", "resolved": "https://registry.npmjs.org/quill-delta/-/quill-delta-5.1.0.tgz",
"integrity": "sha512-X74oCeRI4/p0ucjb5Ma8adTXd9Scumz367kkMK5V/IatcX6A0vlgLgKbzXWy5nZmCGeNJm2oQX0d2Eqj+ZIlCA==", "integrity": "sha512-X74oCeRI4/p0ucjb5Ma8adTXd9Scumz367kkMK5V/IatcX6A0vlgLgKbzXWy5nZmCGeNJm2oQX0d2Eqj+ZIlCA==",
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"fast-diff": "^1.3.0", "fast-diff": "^1.3.0",
"lodash.clonedeep": "^4.5.0", "lodash.clonedeep": "^4.5.0",
@@ -5443,6 +5449,7 @@
"resolved": "https://registry.npmjs.org/react/-/react-19.2.4.tgz", "resolved": "https://registry.npmjs.org/react/-/react-19.2.4.tgz",
"integrity": "sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==", "integrity": "sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==",
"license": "MIT", "license": "MIT",
"peer": true,
"engines": { "engines": {
"node": ">=0.10.0" "node": ">=0.10.0"
} }
@@ -5452,6 +5459,7 @@
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.4.tgz", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.4.tgz",
"integrity": "sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==", "integrity": "sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==",
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"scheduler": "^0.27.0" "scheduler": "^0.27.0"
}, },
@@ -6427,6 +6435,7 @@
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"peer": true,
"engines": { "engines": {
"node": ">=12" "node": ">=12"
}, },
@@ -6596,6 +6605,7 @@
"integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"peer": true,
"bin": { "bin": {
"tsc": "bin/tsc", "tsc": "bin/tsc",
"tsserver": "bin/tsserver" "tsserver": "bin/tsserver"