Skip to content

Commit

Permalink
Increased preset list max height
Browse files Browse the repository at this point in the history
Fixes possible overlapping when multiple tag references are expanded.
New max-height 190 px = button 80 px + content 110 px

Closes openstreetmap#4023
  • Loading branch information
jleh committed Oct 8, 2017
1 parent bfda2c5 commit 20d5e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ui/preset_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export function uiPresetList(context) {
box.transition()
.duration(200)
.style('opacity', '1')
.style('max-height', 200 + preset.members.collection.length * 80 + 'px')
.style('max-height', 200 + preset.members.collection.length * 190 + 'px')
.style('padding-bottom', '20px');
}
};
Expand Down

0 comments on commit 20d5e8a

Please sign in to comment.