Imrpove mobile view for project page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-07-08 13:34:05 +02:00
parent 77fb7e078e
commit 17156cf909
No known key found for this signature in database
GPG key ID: 161B5D6A44D3D88A
2 changed files with 12 additions and 14 deletions

View file

@ -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 {

View file

@ -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)