updated padding across cards and forms

This commit is contained in:
2025-09-26 13:58:14 +01:00
parent 6773b82349
commit c3d273f29d
19 changed files with 26 additions and 26 deletions

View File

@@ -5,7 +5,7 @@ import NPEDIcon from "/NPED.svg";
const NPEDCard = () => {
return (
<Card>
<Card className="p-4">
<CardHeader title={"NPED Config"} img={NPEDIcon} />
<NPEDFields />
</Card>

View File

@@ -56,7 +56,7 @@ const NPEDFields = () => {
enableReinitialize
>
{({ errors, touched }) => (
<Form className="flex flex-col space-y-5">
<Form className="flex flex-col space-y-5 px-2">
<FormGroup>
<label htmlFor="username">Username</label>
{touched.username && errors.username && (

View File

@@ -26,7 +26,7 @@ const NPEDHotlist = () => {
<Formik initialValues={initialValue} onSubmit={handleSubmit}>
{({ setFieldValue, setErrors, errors }) => {
return (
<Form className="flex flex-col space-y-2">
<Form className="flex flex-col space-y-2 px-2">
<input
type="file"
name="file"

View File

@@ -4,7 +4,7 @@ import NPEDHotlist from "./NPEDHotlist";
const NPEDHotlistCard = () => {
return (
<Card>
<Card className="p-4">
<CardHeader title={" Hotlist file upload"} />
<NPEDHotlist />
</Card>