luci-mod-status: break-word for large commands in processes
authorVadim Vetrov <vetrovvd@gmail.com>
Sat, 14 Sep 2024 16:30:33 +0000 (19:30 +0300)
committerPaul Donald <newtwen+github@gmail.com>
Wed, 18 Sep 2024 21:24:35 +0000 (23:24 +0200)
The commit fixes #7280

Signed-off-by: Vadim Vetrov <vetrovvd@gmail.com>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/processes.js

index e7d094a7f93e695e2fca8468ebcf82a76633fbac..96a1fdecb9071bcc89f70f750f432a2154227a64 100644 (file)
@@ -36,7 +36,7 @@ return view.extend({
                        rows.push([
                                proc.PID,
                                proc.USER,
-                               proc.COMMAND,
+                               E('span', {'style': 'word-break: break-word'}, proc.COMMAND),
                                proc['%CPU'],
                                proc['%MEM'],
                                E('div', {}, [