CSS changes

This commit is contained in:
2026-04-04 02:20:15 +05:30
parent e3d80600e9
commit 4c36ad570c
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ export default function InputComponent({id, type, inputOptions, min, max, requir
if(type === "number"){
return(
<>
<fieldset className="fieldset">
<fieldset className="fieldset bg-white bg-base-100 border border-base-300 rounded-box w-full min-w-0 p-2 overflow-visible">
<legend className="fieldset-legend text-black">{ typeof info === "string" ?
<>
<div className="tooltip inline-block max-w-[140px] overflow-visible" data-tip={info}>
@@ -59,7 +59,7 @@ export default function InputComponent({id, type, inputOptions, min, max, requir
);
} else if(type === "select"){
return(
<fieldset className="fieldset">
<fieldset className="fieldset bg-white bg-base-100 border border-base-300 rounded-box w-full min-w-0 p-2 overflow-visible">
<legend className="fieldset-legend text-black"> { info ?
<>
<div className="tooltip inline-block" data-tip={info}>

View File

@@ -17,7 +17,7 @@ const parameters:Input[] = [
},
{
id:"age",
name:"age",
name:"Age",
type:"number",
placeholder:"Enter the age",
required:true,