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>
This commit is contained in:
parent
025d8e79ba
commit
7c91e62575
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ return view.extend({
|
||||||
E('div', { 'id' : 'command-output'},
|
E('div', { 'id' : 'command-output'},
|
||||||
E('textarea', {
|
E('textarea', {
|
||||||
'id': 'widget.command-output',
|
'id': 'widget.command-output',
|
||||||
'style': 'width: 100%',
|
'style': 'width: 100%; font-family:monospace; white-space:pre',
|
||||||
'readonly': true,
|
'readonly': true,
|
||||||
'wrap': 'off',
|
'wrap': 'off',
|
||||||
'rows': '20'
|
'rows': '20'
|
||||||
|
|
Loading…
Reference in a new issue