Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-01-11 01:45:19 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-01-11 01:45:19 +0300
commit65f2ceb0d0fa4e1fd6633c85a2b155dce95ccc86 (patch)
tree9d7a65ece891178212738cd36a1e31fb63dfd2f7 /app
parent13cb9b0e377b066f7bc1af572d09f4055dada749 (diff)
parente797f7100d32c5a3089f0c3c934b9bd8d1615e9b (diff)
Merge branch '26435-show-project-avatars-on-mobile' into 'master'
Display project avatars on Admin Area and Projects pages for mobile views See merge request !8506
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/framework/mobile.scss4
-rw-r--r--app/assets/stylesheets/pages/projects.scss16
2 files changed, 16 insertions, 4 deletions
diff --git a/app/assets/stylesheets/framework/mobile.scss b/app/assets/stylesheets/framework/mobile.scss
index 7eb9962ba33..92d687996e9 100644
--- a/app/assets/stylesheets/framework/mobile.scss
+++ b/app/assets/stylesheets/framework/mobile.scss
@@ -37,10 +37,6 @@
display: none;
}
- .project-avatar {
- display: none;
- }
-
.project-home-panel {
padding-left: 0 !important;
diff --git a/app/assets/stylesheets/pages/projects.scss b/app/assets/stylesheets/pages/projects.scss
index e30d73886e1..9455ba3b98a 100644
--- a/app/assets/stylesheets/pages/projects.scss
+++ b/app/assets/stylesheets/pages/projects.scss
@@ -587,11 +587,21 @@ pre.light-well {
.project-full-name {
@include str-truncated;
+
+ @media (max-width: $screen-xs-max) {
+ max-width: 50%;
+ }
}
.controls {
line-height: $list-text-height;
+ .badge {
+ @media (max-width: $screen-xs-max) {
+ display: none;
+ }
+ }
+
a:hover {
text-decoration: none;
}
@@ -605,6 +615,12 @@ pre.light-well {
top: 2px;
}
}
+
+ .description p {
+ @media (max-width: $screen-xs-max) {
+ max-width: 50%;
+ }
+ }
}
.bottom {