Skip to content

Commit

Permalink
Tailwinds SampleTest.tsx (#5653)
Browse files Browse the repository at this point in the history
* fixes #4984

* adds more padding below icmr ref

* wrap lines for overflowing texts for all ButtonV2

* fixes testing_facility handleSubmit

* whitespace-pre-wrap only for submit and cancel.
  • Loading branch information
rithviknishad committed Jun 21, 2023
1 parent 44c2231 commit 441a9f1
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 321 deletions.
4 changes: 2 additions & 2 deletions src/Components/Common/components/ButtonV2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export const Submit = ({ label = "Submit", ...props }: CommonButtonProps) => {
children={
<>
<CareIcon className="care-l-check-circle text-lg" />
<span>{t(label)}</span>
<span className="whitespace-pre-wrap">{t(label)}</span>
</>
}
{...props}
Expand All @@ -196,7 +196,7 @@ export const Cancel = ({ label = "Cancel", ...props }: CommonButtonProps) => {
children={
<>
<CareIcon className="care-l-times-circle text-lg" />
<span>{t(label)}</span>
<span className="whitespace-pre-wrap">{t(label)}</span>
</>
}
{...props}
Expand Down
Loading

0 comments on commit 441a9f1

Please sign in to comment.