Fix alignment of buttons

Simple fix
undoing inline style fix
Fixing buttons alignment in panel headings
Merge pull request #2981 from TheSisb/patch-1

Fix alignment of buttons