Add some spacing to tab paragraphs and lists
Otherwise the personnes impliquées tab looks odd
This commit is contained in:
parent
9ec61a6a73
commit
64f9f087a0
2 changed files with 8 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
= blank
|
%p.tab-paragraph
|
||||||
|
= blank
|
||||||
|
|
Loading…
Reference in a new issue