mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 09:50:09 +00:00
Removed hardcoded length causing visual bugs (#5960)
This commit is contained in:
parent
da0f98bb10
commit
5ecec0c003
1 changed files with 2 additions and 1 deletions
|
|
@ -503,12 +503,13 @@ const ThresholdCross = (gui, hooks, check_subdir, script_key) => {
|
|||
$select = $(`<span class='input-group-text'>&${field_operator}</span>`).data('value', field_operator);
|
||||
}
|
||||
|
||||
const $field = $(`<div class='input-group template' style='width: 14rem'></div>`);
|
||||
const $field = $(`<div class='input-group template'></div>`);
|
||||
$field.append($select);
|
||||
$field.append(`<input
|
||||
type='number'
|
||||
class='form-control text-end'
|
||||
required
|
||||
style='max-width: 7rem;'
|
||||
name='${key}-input'
|
||||
${hook.enabled ? '' : 'readonly'}
|
||||
value='${hook.script_conf.threshold == undefined ? '' : hook.script_conf.threshold}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue