There were two issues with removing the outer div of the connect button. Firstly, rounded outlines don't work in WebKit browsers like Safari or Epiphany (https://bugs.webkit.org/show_bug.cgi?id=20807) and this makes the outline look completely square. Secondly the code became too complex. This reverts most of commit 05baf14256a4640e15cda63cc2ac576f44482775.