Skip to content

Commit

Permalink
Merge pull request #2 from microsoft/dev
Browse files Browse the repository at this point in the history
fix: [Accessibility] | Bug - BYOc - Client 360 profile
  • Loading branch information
Roopan-Microsoft authored Oct 2, 2024
2 parents 928d5e7 + acabb10 commit bd411f7
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
}

.userCardContainer.selected {
background-color: #0078D7;
background-color: #0F6CBD;
color: white;
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.14), 0px 0px 2px 0px rgba(0, 0, 0, 0.12);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,12 @@
left: 16.5%;
}
}

@media screen and (-ms-high-contrast: active), (forced-colors: active) {

.questionInputContainer{
border: 2px solid WindowText;
background-color: Window;
color: WindowText;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}

.selected {
background-color: #0078D7;
background-color: #0F6CBD;
color: white !important;
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.14), 0px 0px 2px 0px rgba(0, 0, 0, 0.12);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const UserCard: React.FC<UserCardProps> = ({
<div tabIndex={0} className={`${styles.userInfo} ${isSelected ? styles.selected : ''}`} onClick={onCardClick} onKeyDown={(e) => {
if (e.key === 'Enter' || e.key === ' ') {
e.preventDefault(); // Prevent the default action like scrolling.
handleShowMoreClick(e); // Call the same function as onClick.
onCardClick(); // Call the same function as onClick.
}
}}>
<div className={styles.clientName}>{ClientName}</div>
Expand Down
8 changes: 8 additions & 0 deletions ClientAdvisor/App/frontend/src/pages/layout/Layout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@
height: 100%; */
display: flex;
flex-direction: column;
padding-top : 10px ;
}

.pivotContainer > div {
Expand Down Expand Up @@ -316,4 +317,11 @@
background-color: Window;
color: WindowText;
}

.selectedName{
border-radius:25px;
border: 2px solid WindowText;
background-color: Window;
color: WindowText;
}
}
2 changes: 1 addition & 1 deletion ClientAdvisor/App/frontend/src/pages/layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ const Layout = () => {
<span className={styles.selectedName}>{selectedUser ? selectedUser.ClientName : 'None'}</span>
</div>
)}
<Pivot defaultSelectedKey="chat">
<Pivot defaultSelectedKey="chat" className='tabContainer' style={{ paddingTop : 10 }}>
<PivotItem headerText="Chat" itemKey="chat">
<Chat setIsVisible={setIsVisible}/>
</PivotItem>
Expand Down
Binary file modified ClientAdvisor/PowerBIReport/WealthAdvisor-Client360Report.pbix
Binary file not shown.

0 comments on commit bd411f7

Please sign in to comment.