File tree Expand file tree Collapse file tree 4 files changed +6
-9
lines changed
frontend/src/pages/Reports Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 354354 display : flex ;
355355 gap : 16px ;
356356 padding : 0 16px 32px ;
357- margin-top : 32 px ;
357+ margin-top : 20 px ;
358358 }
359359
360360 & __action-button {
949949 .report-detail-page {
950950 & __actions {
951951 max-width : 600px ;
952- margin : 32 px auto 0 ;
952+ margin : 20 px auto 0 ;
953953 }
954954
955955 & __section ,
Original file line number Diff line number Diff line change @@ -8,8 +8,7 @@ import { MedicalReport } from '../../common/models/medicalReport';
88import { useTranslation } from 'react-i18next' ;
99import { getAuthConfig } from 'common/api/reportService' ;
1010import { useToasts } from 'common/hooks/useToasts' ;
11-
12- // Import components
11+ import AiAssistantNotice from './components/AiAssistantNotice' ;
1312import ReportHeader from './components/ReportHeader' ;
1413import ReportTabs from './components/ReportTabs' ;
1514import OriginalReportTab from './components/OriginalReportTab' ;
@@ -151,6 +150,9 @@ const ReportDetailPage: React.FC = () => {
151150 { /* Doctor information note */ }
152151 < InfoCard />
153152
153+ { /* AI Assistant Notice */ }
154+ { activeTab === 'ai' && < AiAssistantNotice /> }
155+
154156 { /* Action buttons at the bottom */ }
155157 < ActionButtons
156158 onDiscard = { handleDiscard }
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import EmergencyAlert from './EmergencyAlert';
44import FlaggedValuesSection from './FlaggedValuesSection' ;
55import NormalValuesSection from './NormalValuesSection' ;
66import LowConfidenceNotice from './LowConfidenceNotice' ;
7- import AiAssistantNotice from './AiAssistantNotice' ;
87
98interface AiAnalysisTabProps {
109 reportData : MedicalReport ;
@@ -60,9 +59,6 @@ const AiAnalysisTab: React.FC<AiAnalysisTabProps> = ({
6059 isExpanded = { normalValuesExpanded }
6160 onToggle = { toggleNormalValues }
6261 />
63-
64- { /* AI Assistant Notice */ }
65- < AiAssistantNotice />
6662 </ div >
6763 ) ;
6864} ;
Original file line number Diff line number Diff line change 11.ai-assistant-notice {
2- padding : 20px 0 ;
32 display : flex ;
43 justify-content : center ;
54
You can’t perform that action at this time.
0 commit comments