📱(demo) make demo responsive

The responsive version of the demo app was buggy, so we need to
make it shiny!

Fixes #275
This commit is contained in:
Nathan Vasse
2024-02-23 14:28:14 +01:00
committed by NathanVss
parent 4fbd75cdcf
commit 1707ad0b66
8 changed files with 517 additions and 26 deletions

View File

@@ -47,10 +47,14 @@ export const Create = (props: PageProps) => {
};
return (
<Modal {...props} size={ModalSize.LARGE} closeOnClickOutside>
<Modal
{...props}
size={ModalSize.MEDIUM}
title="Add character"
closeOnClickOutside
>
<form className="page__create clr-greyscale-900" onSubmit={submit}>
<h1>Add a character</h1>
<div className="card">
<div className="page__create__group">
<h3 className="fw-bold fs-h3">General Information</h3>
<Alert type={VariantType.INFO}>
You are about to add a new character to the collection
@@ -86,7 +90,7 @@ export const Create = (props: PageProps) => {
/>
<Checkbox name="is_guest" label="This character is a guest" />
</div>
<div className="card mt-l">
<div className="page__create__group mt-l">
<h3 className="fw-bold fs-h3">Bio</h3>
<Alert type={VariantType.WARNING}>
Please be exhaustive, every detail counts!