mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-24 20:16:08 +10:00
Merge branch 'dashboard-icon-styling' into 'master'
Dashboard icon styling fix When viewing a fresh install of GitLab on a mobile device, the styling for the dashboard item icon is broken in such a way that if the description div is more than 100px high, its contents wrap beneath the icon as shown below.  I modified the css for the icon and added a new class to the description div and now it behaves as expected as shown below.  As this is a purely html/css change, I don't believe it will break any tests. The only occurrence of .dashboard-intro-icon is in ./app/views/dashboard/_zero_authorized_projects.html.haml See merge request !278
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user