Fix hidden share button and checkbox layout

fixes #9101
Merge pull request #9211 from owncloud/fix-hidden-share-button

Fix hidden share button and checkbox layout