File tree Expand file tree Collapse file tree 5 files changed +28
-13
lines changed
common/components/AIAssistant Expand file tree Collapse file tree 5 files changed +28
-13
lines changed Original file line number Diff line number Diff line change 4646 }
4747
4848 .ai-assistant-title-icon {
49- height : 1.5rem ;
50- margin-right : 0.5rem ;
49+ height : 2.5rem ;
5150 }
5251
5352 .ai-assistant-title-text {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
1010} from '@ionic/react' ;
1111import { useState , useRef } from 'react' ;
1212import { closeOutline , expandOutline , contractOutline } from 'ionicons/icons' ;
13- import iconOnly from '../../../assets/img/icon-only.png ' ;
13+ import aiIcon from '../../../assets/img/ai-icon.svg ' ;
1414import ChatContainer from '../Chat/ChatContainer' ;
1515import ChatInput from '../Chat/ChatInput' ;
1616import { chatService } from '../../services/ChatService' ;
@@ -73,7 +73,7 @@ const AIAssistantModal: React.FC<AIAssistantModalProps> = ({
7373 < IonHeader className = "ai-assistant-header" >
7474 < IonToolbar className = "ai-assistant-toolbar" >
7575 < div className = "ai-assistant-title-container" >
76- < img src = { iconOnly } alt = "AI Assistant Icon" className = "ai-assistant-title-icon" />
76+ < img src = { aiIcon } alt = "AI Assistant Icon" className = "ai-assistant-title-icon" />
7777 < span className = "ai-assistant-title-text" > AI Assistant</ span >
7878 </ div >
7979 < IonButtons slot = "end" >
@@ -98,7 +98,7 @@ const AIAssistantModal: React.FC<AIAssistantModalProps> = ({
9898 < IonContent className = "ai-assistant-content" >
9999 < ChatContainer
100100 messages = { messages }
101- aiIconSrc = { iconOnly }
101+ aiIconSrc = { aiIcon }
102102 testid = { `${ testid } -chat-container` }
103103 />
104104 </ IonContent >
Original file line number Diff line number Diff line change 99.chat-page-title {
1010 display : flex ;
1111 align-items : center ;
12- text-align : left ;
13- justify-content : flex-start ;
12+ text-align : center ;
13+ justify-content : center ;
1414 padding-left : 0 ;
1515 margin-left : 1rem ;
1616
1717 .ai-assistant-title-icon {
18- height : 1.5rem ;
19- margin-right : 0.5rem ;
18+ height : 2.5rem ;
19+ }
20+
21+ .title-container {
22+ display : flex ;
23+ align-items : center ;
24+ justify-content : left ;
2025 }
2126}
2227
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import ChatContainer from '../../common/components/Chat/ChatContainer';
55import ChatInput from '../../common/components/Chat/ChatInput' ;
66import { chatService } from '../../common/services/ChatService' ;
77import { ChatMessageData } from '../../common/components/Chat/ChatMessage' ;
8- import iconOnly from '../../assets/img/icon-only.png ' ;
8+ import aiIcon from '../../assets/img/ai-icon.svg ' ;
99import './ChatPage.scss' ;
1010
1111/**
@@ -36,15 +36,17 @@ const ChatPage = (): JSX.Element => {
3636 < IonHeader >
3737 < IonToolbar className = "chat-page-toolbar" >
3838 < IonTitle className = "chat-page-title" >
39- < img src = { iconOnly } alt = "AI Assistant Icon" className = "ai-assistant-title-icon" />
40- { t ( 'pages.chat.title' , 'AI Assistant' ) }
39+ < div className = "title-container" >
40+ < img src = { aiIcon } alt = "AI Assistant Icon" className = "ai-assistant-title-icon" />
41+ < span > { t ( 'pages.chat.title' , 'AI Assistant' ) } </ span >
42+ </ div >
4143 </ IonTitle >
4244 </ IonToolbar >
4345 </ IonHeader >
4446 < IonContent className = "chat-page-content" >
4547 < ChatContainer
4648 messages = { messages }
47- aiIconSrc = { iconOnly }
49+ aiIconSrc = { aiIcon }
4850 testid = "chat-page-container"
4951 className = "chat-page-container"
5052 />
You can’t perform that action at this time.
0 commit comments