summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-05-09 23:17:05 +0200
committerDouwe Maan <douwe@gitlab.com>2015-05-12 10:27:17 +0200
commite9dff9f4103506d22a7044d2b721b74c4d0b510a (patch)
treeac61f82fcbe5868d845300aadf46ea50a764c224
parent71a1689fec04093b1ee3455a11527efe93b207a6 (diff)
downloadgitlab-ce-e9dff9f4103506d22a7044d2b721b74c4d0b510a.tar.gz
Fix alignment of ref picker, breadcrumb and buttons.
-rw-r--r--app/assets/stylesheets/pages/commits.scss4
-rw-r--r--app/assets/stylesheets/pages/projects.scss3
-rw-r--r--app/assets/stylesheets/pages/tree.scss8
-rw-r--r--app/views/projects/tree/show.html.haml2
4 files changed, 3 insertions, 14 deletions
diff --git a/app/assets/stylesheets/pages/commits.scss b/app/assets/stylesheets/pages/commits.scss
index 84361e15481..359f4073e87 100644
--- a/app/assets/stylesheets/pages/commits.scss
+++ b/app/assets/stylesheets/pages/commits.scss
@@ -29,10 +29,6 @@
.commits-feed-holder {
float: right;
-
- .btn {
- padding: 4px 12px;
- }
}
li.commit {
diff --git a/app/assets/stylesheets/pages/projects.scss b/app/assets/stylesheets/pages/projects.scss
index 5a8d4665294..224aea2db59 100644
--- a/app/assets/stylesheets/pages/projects.scss
+++ b/app/assets/stylesheets/pages/projects.scss
@@ -249,7 +249,8 @@ ul.nav.nav-projects-tabs {
}
.breadcrumb.repo-breadcrumb {
- padding: 2px 0;
+ padding: 0;
+ line-height: 34px;
background: white;
border: none;
font-size: 16px;
diff --git a/app/assets/stylesheets/pages/tree.scss b/app/assets/stylesheets/pages/tree.scss
index 57f63b52aa1..34ee4d7b31e 100644
--- a/app/assets/stylesheets/pages/tree.scss
+++ b/app/assets/stylesheets/pages/tree.scss
@@ -106,17 +106,9 @@
}
}
-.tree-download-holder .btn {
- padding: 4px 12px;
-}
-
.tree-ref-holder {
float: left;
margin-right: 15px;
-
- .select2-container .select2-choice, .select2-container.select2-drop-above .select2-choice {
- padding: 4px 12px;
- }
}
.readme-holder {
diff --git a/app/views/projects/tree/show.html.haml b/app/views/projects/tree/show.html.haml
index 72916cad182..04590f65b27 100644
--- a/app/views/projects/tree/show.html.haml
+++ b/app/views/projects/tree/show.html.haml
@@ -8,7 +8,7 @@
- if can? current_user, :download_code, @project
.tree-download-holder
- = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-sm pull-right hidden-xs hidden-sm', split_button: true
+ = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group pull-right hidden-xs hidden-sm', split_button: true
#tree-holder.tree-holder.clearfix
= render "tree", tree: @tree