summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorWanfung Joshua Lee <cloudwindhk@gmail.com>2015-01-05 19:57:09 -0800
committerWanfung Joshua Lee <cloudwindhk@gmail.com>2015-01-05 20:04:53 -0800
commit3d7519016f9fc3642e1d672d3f80092562e9505a (patch)
treebbe82fed698fd4148f1557af7ccc5fccbb92c344 /app
parentd884c210049b59b4cfcbb2c9bd162595acad7204 (diff)
downloadgitlab-ce-3d7519016f9fc3642e1d672d3f80092562e9505a.tar.gz
fix the wacky dashboard intro icon styling [ci skip]
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/generic/common.scss12
-rw-r--r--app/views/dashboard/_zero_authorized_projects.html.haml6
2 files changed, 12 insertions, 6 deletions
diff --git a/app/assets/stylesheets/generic/common.scss b/app/assets/stylesheets/generic/common.scss
index 24f7a9ad686..da708c96b09 100644
--- a/app/assets/stylesheets/generic/common.scss
+++ b/app/assets/stylesheets/generic/common.scss
@@ -292,11 +292,17 @@ table {
.dashboard-intro-icon {
float: left;
+ text-align: center;
font-size: 32px;
color: #AAA;
- padding: 5px 0;
- width: 50px;
- min-height: 100px;
+ width: 60px;
+}
+
+.dashboard-intro-text {
+ display: inline-block;
+ margin-left: -60px;
+ padding-left: 60px;
+ width: 100%;
}
.broadcast-message {
diff --git a/app/views/dashboard/_zero_authorized_projects.html.haml b/app/views/dashboard/_zero_authorized_projects.html.haml
index 5d133cd8285..f78ce69ef9e 100644
--- a/app/views/dashboard/_zero_authorized_projects.html.haml
+++ b/app/views/dashboard/_zero_authorized_projects.html.haml
@@ -4,7 +4,7 @@
%div
.dashboard-intro-icon
%i.fa.fa-bookmark-o
- %div
+ .dashboard-intro-text
%p.slead
You don't have access to any projects right now.
%br
@@ -24,7 +24,7 @@
%div
.dashboard-intro-icon
%i.fa.fa-users
- %div
+ .dashboard-intro-text
%p.slead
You can create a group for several dependent projects.
%br
@@ -38,7 +38,7 @@
%div
.dashboard-intro-icon
%i.fa.fa-globe
- %div
+ .dashboard-intro-text
%p.slead
There are
%strong= @publicish_project_count