mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-19 09:36:47 +10:00
Merge branch 'improve-mobile-ui' into 'master'
Improve mobile UI. pt1 Related to #1493 * [x] App Header * [x] Dashboard * [x] Project home page See merge request !1266
This commit is contained in:
@@ -186,7 +186,24 @@
|
||||
}
|
||||
|
||||
@media (max-width: $screen-xs-max) {
|
||||
.event-item .event-title {
|
||||
@include str-truncated(65%);
|
||||
.event-item {
|
||||
.event-title {
|
||||
white-space: normal;
|
||||
overflow: visible;
|
||||
max-width: 100%;
|
||||
}
|
||||
.avatar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.event-body {
|
||||
margin: 0;
|
||||
border-left: 2px solid #DDD;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.event-item-timestamp {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,6 +59,7 @@ header {
|
||||
}
|
||||
|
||||
.navbar-collapse {
|
||||
margin-top: 47px;
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
@@ -63,7 +63,6 @@
|
||||
@media (max-width: $screen-xs-max) {
|
||||
font-size: 18px;
|
||||
margin: 0;
|
||||
|
||||
max-height: none;
|
||||
|
||||
&, .container {
|
||||
@@ -86,6 +85,7 @@
|
||||
color: #fff;
|
||||
font-weight: normal;
|
||||
text-shadow: none;
|
||||
border: none;
|
||||
|
||||
&:after { display: none; }
|
||||
}
|
||||
|
||||
@@ -295,3 +295,16 @@ ul.nav.nav-projects-tabs {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $screen-xs-max) {
|
||||
.project-home-panel {
|
||||
.star-fork-buttons {
|
||||
padding-top: 10px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.project-home-links {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
- else
|
||||
= link_to_toggle_star('You must sign in to star a project.', false, false)
|
||||
|
||||
.project-home-row
|
||||
.project-home-row.hidden-xs
|
||||
- if current_user && !empty_repo
|
||||
.project-home-dropdown
|
||||
= render "dropdown"
|
||||
|
||||
Reference in New Issue
Block a user