Skip to content

Commit

Permalink
[INJIWEB-1148:Fix Radio Button & String Overlap]
Browse files Browse the repository at this point in the history
Signed-off-by: Kamlesh Singh Bisht <[email protected]>
  • Loading branch information
kamlesh012 committed Dec 2, 2024
1 parent b5284f9 commit 828da60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions inji-web/src/components/DataShare/DataShareContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,26 +46,26 @@ export const DataShareContent:React.FC<DSContentProps> = (props) => {
<div className="relative flex">
<div className="my-4 w-1/3 text-iw-subTitle text-lg leading-relaxed py-5" data-testid={"DataShareContent-Consent-Container"}>{t("content.consent")}</div>
<div className={"my-4 w-2/3 flex flex-row py-5 items-center"}>
<label className="w-1/2 flex items-center space-x-2">
<label className="w-1/2 flex items-center">
<input
type="radio"
name="consentValidity"
value="number"
checked={true}
data-testid={"DataShareContent-Consent-Radio"}
className="accent-iw-primary scale-150"
className="accent-iw-primary scale-150 mx-2"
/>
<span className="font-base text-iw-subTitle" data-testid={"DataShareContent-Consent-Option"}>{t("content.validityTimesHeader")}</span>
</label>

<label onClick={()=>toast.warning(t("toastText"))} className="w-1/2 flex items-center space-x-2" data-testid={"DataShareContent-Validity-Date"}>
<label onClick={()=>toast.warning(t("toastText"))} className="w-1/2 flex items-center" data-testid={"DataShareContent-Validity-Date"}>
<div className="relative inline-block">
<input
type="radio"
name="consentValidity"
value="date"
disabled={true}
className="accent-iw-primary scale-150"
className="accent-iw-primary scale-150 mx-2"
/>
<div
className="absolute inset-0"
Expand Down

0 comments on commit 828da60

Please sign in to comment.