Skip to content

Commit

Permalink
moves paragraph to correct component for non fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
SuttonMashing committed Nov 29, 2024
1 parent f20b57d commit a5b28b4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,13 @@ function LloydGeorgeViewRecordStage({

<h1>{pageHeader}</h1>
<PatientSimpleSummary />
<p>
To search within the record use <strong>Control</strong> and <strong>F</strong>
</p>
{fullScreen ? (
<p>
To search within this record use <strong>Control</strong> and <strong>F</strong>
</p>
) : (
<p />
)}

{!fullScreen ? (
<div className="lloydgeorge_record-stage_flex">
Expand All @@ -223,7 +227,6 @@ function LloydGeorgeViewRecordStage({
setStage={setStage}
showMenu={showMenu}
/>

<div
className={`lloydgeorge_record-stage_flex-row lloydgeorge_record-stage_flex-row${menuClass}`}
>
Expand Down
4 changes: 4 additions & 0 deletions app/src/components/generic/recordCard/RecordCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ function RecordCard({
View in full screen
</button>
)}
<p>
To search within this record use <strong>Control</strong> and{' '}
<strong>F</strong>
</p>
</Card.Content>
<div>{children}</div>
</Card>
Expand Down

0 comments on commit a5b28b4

Please sign in to comment.