From 7c91e62575e31a1e39aa7a99012a76039358657c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 27 Jan 2023 13:58:40 +0100 Subject: [PATCH] luci-mod-network: fix output style of diagnostics commands Ensure that the output textarea uses a monospace font and preformatted text. Fixes: 5f2d305476 ("luci-mod-network: convert diagnostic page to LuCI look and feel") Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/resources/view/network/diagnostics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js index 90ad67aeaf..8e400fb46b 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js @@ -163,7 +163,7 @@ return view.extend({ E('div', { 'id' : 'command-output'}, E('textarea', { 'id': 'widget.command-output', - 'style': 'width: 100%', + 'style': 'width: 100%; font-family:monospace; white-space:pre', 'readonly': true, 'wrap': 'off', 'rows': '20'