Skip to content

Commit

Permalink
Improve size of some input/select html elements for custom palettes
Browse files Browse the repository at this point in the history
  • Loading branch information
mthh committed Jul 12, 2023
1 parent 0b92fd1 commit 5505050
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions client/js/classification/discretization_panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ function make_box_custom_palette(nb_classes, existing_colors) {
.html(_tr('app_page.palette_box.new_name'));
bottom
.append('input')
.style('width', '70px')
.styles({
width: '160px',
'margin-left': '5px',
})
.on('keyup', function () {
if (verif_palette_name(this.value) !== null) pal_name = this.value;
});
Expand Down Expand Up @@ -166,7 +169,7 @@ export const display_discretization = (layer_name, field_name, nb_class, options
.append('select')
.attr('class', 'color_params')
.styles({
width: '116px',
width: '220px',
})
.on('change', function() {
redisplay.draw();
Expand Down

0 comments on commit 5505050

Please sign in to comment.