Add some spacing to tab paragraphs and lists

Otherwise the personnes impliquées tab looks odd
This commit is contained in:
gregoirenovel 2017-12-12 17:09:08 +01:00
parent 9ec61a6a73
commit 64f9f087a0
2 changed files with 8 additions and 2 deletions

View file

@ -14,6 +14,11 @@
margin-bottom: $default-padding; margin-bottom: $default-padding;
} }
.tab-list,
.tab-paragraph {
margin-bottom: 2 * $default-padding;
}
.accompagnateur-header { .accompagnateur-header {
background-color: $light-grey; background-color: $light-grey;
padding-top: $default-padding; padding-top: $default-padding;

View file

@ -1,9 +1,10 @@
.tab-title= title .tab-title= title
- if emails_collection.present? - if emails_collection.present?
%ul %ul.tab-list
- emails_collection.each do |email| - emails_collection.each do |email|
%li %li
= email = email
- else - else
%p.tab-paragraph
= blank = blank