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:
@@ -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"
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user