Imrpove mobile view for project page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
77fb7e078e
commit
17156cf909
2 changed files with 12 additions and 14 deletions
|
@ -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 {
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue