CSS changes
This commit is contained in:
@@ -10,7 +10,7 @@ export default function InputComponent({id, type, inputOptions, min, max, requir
|
|||||||
if(type === "number"){
|
if(type === "number"){
|
||||||
return(
|
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" ?
|
<legend className="fieldset-legend text-black">{ typeof info === "string" ?
|
||||||
<>
|
<>
|
||||||
<div className="tooltip inline-block max-w-[140px] overflow-visible" data-tip={info}>
|
<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"){
|
} else if(type === "select"){
|
||||||
return(
|
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 ?
|
<legend className="fieldset-legend text-black"> { info ?
|
||||||
<>
|
<>
|
||||||
<div className="tooltip inline-block" data-tip={info}>
|
<div className="tooltip inline-block" data-tip={info}>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ const parameters:Input[] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id:"age",
|
id:"age",
|
||||||
name:"age",
|
name:"Age",
|
||||||
type:"number",
|
type:"number",
|
||||||
placeholder:"Enter the age",
|
placeholder:"Enter the age",
|
||||||
required:true,
|
required:true,
|
||||||
|
|||||||
Reference in New Issue
Block a user