@samitouri / QOSami-HFS / commits / a87ce97e

admin/plugins: wrap name text if long

Massimo Melina committed May 18, 2024 at 18:33 UTC a87ce97e42b5cfbbcef64494964afde898deaf04
1 file changed +1 -1
admin/src/InstalledPlugins.ts
+1 -1
@@ -143,7 +143,7 @@ export function renderName({ row, value }: any) {
143 errorIcon(row.error),
144 repo?.includes('//') ? h(Link, { href: repo, target: 'plugin' }, value)
145 : !repo ? value
146 - : with_(repo?.split('/'), arr => h(Fragment, {},
146 + : with_(repo?.split('/'), arr => h(Box, { sx: { textWrap: 'wrap' } },
147 h(Link, { href: 'https://github.com/' + repo, target: 'plugin', onClick(ev) { ev.stopPropagation() } }, arr[1].replace(/hfs-/, '')),
148 '\xa0by ', arr[0]
149 ))