Steveorevo / node-red-contrib-nbrowser

Provides a virtual web browser (a.k.a. "headless browser") appearing as a node.
35 stars 13 forks source link

Methods configurator broken #6

Closed pokryva closed 6 years ago

pokryva commented 6 years ago

This is how nbrowser's node config windows looks like - the Methods section is broken: image

Node & Node-RED are running on windows 7 or debian 9 node --version --> v8.9.4 npm --version --> 5.6.0 node-red-contrib-nbrowser --> 1.1.0

Tested in Chrome 63.0.3239.132 / FireFox 57.0.4 / IE 11

Steveorevo commented 6 years ago

This appears to be a simple CSS margin error; will try to reproduce. Try changing with width:165px to be width 155px on line 812 in nbrowser.html to read:

var selectField = $('<select/>',{class:"node-input-method-type",style:"width:155px; margin-right:10px;"}).appendTo(row);
pokryva commented 6 years ago

OK, thank you for the direction, in fact I had to "hack" the width value even further down to 145 to make it properly alligned. Thanks!

Steveorevo commented 6 years ago

Noted. Thank you for contributing. Will post changes to the main repo shortly.