Skip to content
Snippets Groups Projects
Verified Commit 012ea64d authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix description margin for groups list

parent d51f3b7b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -118,6 +118,13 @@ ul.content-list {
font-weight: 600;
}
 
.description {
p {
@include str-truncated;
margin-bottom: 0;
}
}
.avatar {
margin-right: 15px;
}
Loading
Loading
Loading
Loading
@@ -410,13 +410,6 @@ pre.light-well {
margin-left: 10px;
}
}
.project-description {
p {
@include str-truncated;
margin-bottom: 0;
}
}
}
 
.bottom {
Loading
Loading
Loading
Loading
@@ -64,8 +64,10 @@
 
%h2#lists Lists
 
%h4
.lead
Simple list using
%code .content-list
%ul.content-list
%li
One item
Loading
Loading
@@ -74,6 +76,24 @@
%li
One item
 
.lead
List with avatar, title and description using
%code .content-list
%ul.content-list
%li
= image_tag 'no_avatar.png', class: 'avatar s40'
.title Title
.description Description
%li
= image_tag 'no_avatar.png', class: 'avatar s40'
.title Title
.description Description
%li
= image_tag 'no_avatar.png', class: 'avatar s40'
.title Title
.description Description
%h4
%code .well-list
%ul.well-list
Loading
Loading
Loading
Loading
@@ -30,5 +30,5 @@
%span #{group_member.human_access}
 
- if group.description.present?
.light
.description
= markdown(group.description, pipeline: :description)
Loading
Loading
@@ -43,9 +43,9 @@
title: "#{visibility_level_label(project.visibility_level)} - #{project_visibility_level_description(project.visibility_level)}"}
= visibility_level_icon(project.visibility_level, fw: false)
- if show_last_commit_as_description
.project-description
.description
= link_to_gfm project.commit.title, namespace_project_commit_path(project.namespace, project, project.commit),
class: "commit-row-message"
- elsif project.description.present?
.project-description
.description
= markdown(project.description, pipeline: :description)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment