Some layout fixes for use on mobile phone

Login box was getting to small and on the detail page there was no margin this fixes [AEROGEAR-1354](https://issues.jboss.org/browse/AEROGEAR-1354)