Skip to content

Commit c1b2a11

Browse files
committed
Fixed styling for Generate draft button
1 parent 42f72ab commit c1b2a11

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

frontend/src/pages/chat/Chat.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,8 @@ const Chat = ({ type = ChatType.Browse }: Props) => {
10711071
},
10721072
root: {
10731073
color: '#FFFFFF',
1074-
background: '#1367CF'
1074+
background:
1075+
'radial-gradient(109.81% 107.82% at 100.1% 90.19%, #0F6CBD 33.63%, #2D87C3 70.31%, #8DDDD8 100%)'
10751076
},
10761077
rootDisabled: {
10771078
background: '#F0F0F0'
@@ -1080,7 +1081,7 @@ const Chat = ({ type = ChatType.Browse }: Props) => {
10801081
className={styles.generateDocumentIcon}
10811082
iconProps={{ iconName: 'Generate' }}
10821083
onClick={generateDocument} //Update for Document Generation
1083-
disabled={draftDocument === undefined && disabledButton()}
1084+
disabled={draftDocument === undefined || disabledButton()}
10841085
aria-label="generate draft"
10851086
title='Generate Draft'
10861087
/>

0 commit comments

Comments
 (0)