Improve profile parameters layout: button always visible, smaller font
- Flexbox layout with scrolling inner content instead of whole tab - same smaller font size like in layers tab, small input fields
This commit is contained in:
parent
ad40459be7
commit
4efa6247aa
3 changed files with 16 additions and 14 deletions
|
|
@ -217,7 +217,7 @@ BR.Profile = L.Evented.extend({
|
|||
if (paramType == 'select') {
|
||||
var select = document.createElement('select');
|
||||
select.name = paramName;
|
||||
select.className = 'form-control';
|
||||
select.className = 'form-control form-control-sm';
|
||||
label.htmlFor = select.id = 'customize-profile-' + paramName;
|
||||
|
||||
var paramValues = params[param].possible_values;
|
||||
|
|
@ -238,7 +238,7 @@ BR.Profile = L.Evented.extend({
|
|||
if (paramType == 'number') {
|
||||
input.type = 'number';
|
||||
input.value = params[param].value;
|
||||
input.className = 'form-control';
|
||||
input.className = 'form-control form-control-sm';
|
||||
|
||||
label.append(paramName);
|
||||
div.appendChild(label);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue