diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-07-08 13:34:05 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-07-08 13:34:05 +0200 |
commit | 17156cf909fff49ea068b2dc00fd607af20967f8 (patch) | |
tree | fed323e0a7abc72bdb4fe96ed4ec9d8d01a93bb8 | |
parent | 77fb7e078e49685fa649abc8ebe24376203c2c2c (diff) | |
download | gitlab-ce-17156cf909fff49ea068b2dc00fd607af20967f8.tar.gz |
Imrpove mobile view for project page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | app/assets/stylesheets/generic/mobile.scss | 24 | ||||
-rw-r--r-- | app/views/projects/_home_panel.html.haml | 2 |
2 files changed, 12 insertions, 14 deletions
diff --git a/app/assets/stylesheets/generic/mobile.scss b/app/assets/stylesheets/generic/mobile.scss index a49775daf8b..24c828e0d97 100644 --- a/app/assets/stylesheets/generic/mobile.scss +++ b/app/assets/stylesheets/generic/mobile.scss @@ -44,20 +44,18 @@ .project-home-panel { padding-left: 0 !important; - .project-home-row { - .project-home-desc { - margin-right: 0 !important; - float: none !important; - } - - .project-repo-buttons { - position: static; - margin-top: 15px; - width: 100%; - float: none; - text-align: left; - } + .project-avatar { + display: block; } + + .project-repo-buttons, + .git-clone-holder { + display: none; + } + } + + .project-stats { + display: none; } .container .title { diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml index 2c32d9ccafe..95c84c96c41 100644 --- a/app/views/projects/_home_panel.html.haml +++ b/app/views/projects/_home_panel.html.haml @@ -2,7 +2,7 @@ .project-home-panel.clearfix{:class => ("empty-project" if empty_repo)} .project-identicon-holder = project_icon(@project, alt: '', class: 'project-avatar avatar s90') - .lead + .project-home-desc.lead - if @project.description.present? = markdown(@project.description, pipeline: :description) |