Skip to content

Commit

Permalink
modify tooltip render direction to avoid clipping. (#4069)
Browse files Browse the repository at this point in the history
* modify tooltip render direction to avoid clipping.

* also correct remarks section.

---------

Co-authored-by: Smith <devin.smith@quartech.com>
  • Loading branch information
devinleighsmith and Smith authored May 31, 2024
1 parent be9971a commit 513f7bc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export const LeaseDetailSubForm: React.FunctionComponent<ILeaseDetailsSubFormPro
<li>Archived: File to be archived as per ARCS/ORCS.</li>
</ul>
}
placement="right"
></TooltipIcon>
}
required
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ export const CompensationRequisitionDetailView: React.FunctionComponent<

<Section>
<SectionField label="Detailed remarks" labelWidth="12">
{compensation.detailedRemarks}
<p style={{ whiteSpace: 'pre-wrap' }}>{compensation.detailedRemarks}</p>
</SectionField>
</Section>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,11 @@ exports[`Compensation Detail View Component > renders as expected 1`] = `
</div>
<div
class="c8 text-left col"
/>
>
<p
style="white-space: pre-wrap;"
/>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 513f7bc

Please sign in to comment.