diff --git a/app/assets/stylesheets/repositories.scss b/app/assets/stylesheets/repositories.scss index 946c89f8f..1b70db0a5 100644 --- a/app/assets/stylesheets/repositories.scss +++ b/app/assets/stylesheets/repositories.scss @@ -86,7 +86,7 @@ line-height: 12px; } - .datatables-buttons { + .repo-datatables-buttons { flex-shrink: 0; } } diff --git a/app/assets/stylesheets/themes/repositories.scss b/app/assets/stylesheets/themes/repositories.scss index a43094af5..bea5e9f34 100644 --- a/app/assets/stylesheets/themes/repositories.scss +++ b/app/assets/stylesheets/themes/repositories.scss @@ -24,11 +24,6 @@ float: right; } -.new-repository-button { - float: left; - margin-right: 5px; -} - .custom-alert-info { background-color: $state-info-bg; border: 1px solid $state-info-border; diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index 22386aeea..2849fcb67 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -34,15 +34,13 @@ <% end %>
-
- <% if can_share_repository?(@repository) && current_user.teams.count > 1 %> - <%= link_to team_repository_share_modal_path(current_team, repository_id: @repository), - class: 'btn btn-default share-repo-option', remote: true, id: 'shareRepoBtn' do %> - - - <% end %> + <% if can_share_repository?(@repository) && current_user.teams.count > 1 %> + <%= link_to team_repository_share_modal_path(current_team, repository_id: @repository), + class: 'btn btn-secondary share-repo-option', remote: true, id: 'shareRepoBtn' do %> + + <% end %> -
+ <% end %> -
- +