diff options
author | Jo-Philipp Wich <jo@mein.io> | 2023-01-27 13:58:40 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2023-01-27 14:00:33 +0100 |
commit | 7c91e62575e31a1e39aa7a99012a76039358657c (patch) | |
tree | 94844416f6f2e5743370fcbc9419bcc5526bc5cc /modules/luci-mod-network/htdocs/luci-static/resources | |
parent | 025d8e79ba4cd1ad6807c763caf9e3e68f7c4770 (diff) |
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 <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js | 2 |
1 files changed, 1 insertions, 1 deletions
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' |