Skip to content

Commit 31db7a1

Browse files
added dropzone icon and format fixes
1 parent 5fb4626 commit 31db7a1

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

frontend/src/App.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,4 +240,14 @@
240240
.ndl-label-before>span {
241241
font-weight: 600;
242242
font-size: larger;
243+
}
244+
245+
.ndl-upload-img-wrapper{
246+
background: url("./assets/images/dropzone.svg");
247+
background-repeat: no-repeat;
248+
background-position: center;
249+
}
250+
251+
.ndl-dropzone .ndl-dropzone-header{
252+
row-gap: 0 !important;
243253
}
Lines changed: 1 addition & 0 deletions
Loading

frontend/src/components/Chatbot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable no-confusing-arrow */
2-
import {useEffect, useRef, useState } from 'react';
2+
import { useEffect, useRef, useState } from 'react';
33
import { Button, Widget, Typography, Avatar, TextInput, TextLink } from '@neo4j-ndl/react';
44
import ChatBotUserAvatar from '../assets/images/chatbot-user.png';
55
import ChatBotAvatar from '../assets/images/chatbot-ai.png';

frontend/src/components/RightSideBar.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,7 @@ const RightSideBar: React.FC<RightSideBarProps> = ({ showChatBot, closeChatBot }
3434
className='grow'
3535
>
3636
<Drawer.Body className='!overflow-y-hidden !px-0'>
37-
<Chatbot
38-
messages={messages}
39-
setMessages={setMessages}
40-
isLoading={getIsLoading(messages)}
41-
></Chatbot>
37+
<Chatbot messages={messages} setMessages={setMessages} isLoading={getIsLoading(messages)}></Chatbot>
4238
</Drawer.Body>
4339
</Drawer>
4440
);

frontend/src/services/URLScan.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const urlScanAPI = async (props: ScanProps) => {
1010
if (!props.urlParam?.endsWith('/')) {
1111
s3url = props?.urlParam + '/';
1212
} else {
13-
s3url = props?.urlParam
13+
s3url = props?.urlParam;
1414
}
1515
}
1616
formData.append('uri', props?.userCredentials?.uri ?? '');

0 commit comments

Comments
 (0)