feat: enhance CdnChooser with truncation and improve FormRow layout

- Added truncation class to the CdnChooser component for better UI.
- Updated FormRow to include flex-wrap and items-end for improved layout.
- Introduced a new overrides.ts file to generate IDs with a rot13 encoding for tierlist versions.
- Created a new page for creating tierlist versions with form handling and validation.
- Implemented a DatePicker component for selecting dates with a calendar UI.
This commit is contained in:
2026-01-25 21:04:31 +07:00 Unverified
parent 613e62f73a
commit f7d72e948c
9 changed files with 401 additions and 124 deletions
+2 -2
View File
@@ -127,11 +127,11 @@ export function CdnChooser({
>
{children ||
(meta ? (
<span onClick={value ? choose : undefined}>
<span onClick={value ? choose : undefined} className="truncate">
{meta.name} <Kbd>{b2sClient(Number(meta.size))}</Kbd>
</span>
) : value ? (
<span onClick={value ? choose : undefined}>"File Selected"</span>
<span onClick={value ? choose : undefined}>File Selected</span>
) : (
"Select File"
))}