search results now have space at each /, so that it's easier to read and wrapping of long lines is better
Massimo Melina committed
Sep 20, 2024 at 23:37 UTC
5c5bbcd0b718a8029af2a63053942f8d73678c25
1 file changed
+1
-1
frontend/src/BrowseFiles.ts
+1
-1
@@ -198,7 +198,7 @@ const Entry = ({ entry, midnight, separator }: EntryProps) => {
198
const { uri, isFolder, name, n } = entry
199
const { showFilter, selected, file_menu_on_link } = useSnapState()
200
const isLink = Boolean(entry.url)
201
- const containerName = n.slice(0, -name.length - (isFolder ? 1 : 0))
201
+ const containerName = n.slice(0, -name.length - (isFolder ? 1 : 0)).replaceAll('/', '/ ')
202
let className = isFolder ? 'folder' : 'file'
203
if (entry.cantOpen)
204
className += ' cant-open'