FlowFuse / node-red-dashboard

https://dashboard.flowfuse.com
Apache License 2.0
205 stars 49 forks source link

height is not being applied to ui-button #278

Closed sumitshinde-84 closed 1 year ago

sumitshinde-84 commented 1 year ago

https://github.com/FlowFuse/node-red-dashboard/assets/110285294/8cb50ef1-b0cc-4f7a-82f7-04fd53aab923

Above, I have provided a video of Node-RED Dashboard 1.0

https://github.com/FlowFuse/node-red-dashboard/assets/110285294/5a496fa5-77b3-47d5-8108-d943580b49b6

Above, I have provided a video of Node-RED Dashboard 2.0

sumitshinde-84 commented 1 year ago

hii @joepavitt , I've noticed that the height and width are being applied to the parent div container of the button instead of the button itself. The same seems to be true for the width, where the button's width increases as we change the width of the parent div. This behavior might be related to the 'width: auto' of button.

what do you think ?

https://github.com/FlowFuse/node-red-dashboard/assets/110285294/bb8de164-10f9-4c70-b3a4-036479c0e60f