Refactor css of LayerManager to improve alignment