Replace paragraphs with list
This commit is contained in:
parent
e847e9263e
commit
f3bca9bfeb
2 changed files with 16 additions and 15 deletions
|
@ -24,13 +24,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-dropdown-service-action {
|
|
||||||
margin-top: $default-padding;
|
|
||||||
margin-bottom: $default-spacer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.help-dropdown-service-item {
|
.help-dropdown-service-item {
|
||||||
margin-top: $default-spacer;
|
margin-top: $default-spacer;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,12 +3,19 @@
|
||||||
%span.help-dropdown-title= title
|
%span.help-dropdown-title= title
|
||||||
.help-dropdown-service-action
|
.help-dropdown-service-action
|
||||||
%p.fr-text--sm= t('help_dropdown.contact_administration')
|
%p.fr-text--sm= t('help_dropdown.contact_administration')
|
||||||
%p.fr-text--sm.help-dropdown-service-item
|
%dl.fr-text--sm
|
||||||
%span.fr-icon-mail-fill.fr-icon--sm{ "aria-label": t('layouts.mailers.service_footer.by_email') }
|
.flex.fr-mb-1w
|
||||||
= link_to service.email, "mailto:#{service.email}", role: 'menuitem'
|
%dt.fr-mr-1v
|
||||||
%p.fr-text--sm
|
%span.help-dropdown-service-item.fr-icon-mail-fill.fr-icon--sm{ "aria-label": t('layouts.mailers.service_footer.by_email') }
|
||||||
%span.fr-icon-phone-fill.fr-icon--sm{ "aria-label": t('layouts.mailers.service_footer.by_phone') }
|
%dd
|
||||||
= link_to service.telephone, service.telephone_url, role: 'menuitem'
|
= link_to service.email, "mailto:#{service.email}", role: 'menuitem'
|
||||||
%p.fr-text--sm
|
.flex.fr-mb-1w
|
||||||
%span.fr-icon-time-fill.fr-icon--sm{ "aria-label": t('layouts.mailers.service_footer.schedule') }
|
%dt.fr-mr-1v
|
||||||
= service.horaires
|
%span.fr-icon-phone-fill.fr-icon--sm{ "aria-label": t('layouts.mailers.service_footer.by_phone') }
|
||||||
|
%dd
|
||||||
|
= link_to service.telephone, service.telephone_url, role: 'menuitem'
|
||||||
|
.flex.fr-mb-1w
|
||||||
|
%dt.fr-mr-1v
|
||||||
|
%span.fr-icon-time-fill.fr-icon--sm{ "aria-label": t('layouts.mailers.service_footer.schedule') }
|
||||||
|
%dd
|
||||||
|
= service.horaires
|
||||||
|
|
Loading…
Reference in a new issue