summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-02 14:07:21 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-02 14:07:21 +0100
commit112cca872bd7982bd2452f2f0903d21342d5ea5f (patch)
tree0374f4ec0f17ea2b358cddaf11bc85742ce2392f
parent09e712c0fb721059e4b2619eb9fc104257fc492d (diff)
downloadgitlab-ce-112cca872bd7982bd2452f2f0903d21342d5ea5f.tar.gz
Move project visibility status to the left
-rw-r--r--app/assets/stylesheets/framework/blocks.scss5
-rw-r--r--app/views/projects/_home_panel.html.haml2
2 files changed, 6 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/blocks.scss b/app/assets/stylesheets/framework/blocks.scss
index 1635df9c97b..9e30d3b9c8b 100644
--- a/app/assets/stylesheets/framework/blocks.scss
+++ b/app/assets/stylesheets/framework/blocks.scss
@@ -112,5 +112,10 @@
position: absolute;
top: 10px;
right: 10px;
+
+ &.left {
+ left: 10px;
+ right: auto;
+ }
}
}
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml
index b30036966a7..d94a279eafd 100644
--- a/app/views/projects/_home_panel.html.haml
+++ b/app/views/projects/_home_panel.html.haml
@@ -12,9 +12,9 @@
Forked from
= link_to project_path(forked_from_project) do
= forked_from_project.namespace.try(:name)
- .cover-controls
.visibility-level-label
= visibility_level_icon(@project.visibility_level)
+ .cover-controls.left
= visibility_level_label(@project.visibility_level)
.project-repo-buttons