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 {
|
||||
margin-top: $default-spacer;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
|
|
|
@ -3,12 +3,19 @@
|
|||
%span.help-dropdown-title= title
|
||||
.help-dropdown-service-action
|
||||
%p.fr-text--sm= t('help_dropdown.contact_administration')
|
||||
%p.fr-text--sm.help-dropdown-service-item
|
||||
%span.fr-icon-mail-fill.fr-icon--sm{ "aria-label": t('layouts.mailers.service_footer.by_email') }
|
||||
= link_to service.email, "mailto:#{service.email}", role: 'menuitem'
|
||||
%p.fr-text--sm
|
||||
%span.fr-icon-phone-fill.fr-icon--sm{ "aria-label": t('layouts.mailers.service_footer.by_phone') }
|
||||
= link_to service.telephone, service.telephone_url, role: 'menuitem'
|
||||
%p.fr-text--sm
|
||||
%span.fr-icon-time-fill.fr-icon--sm{ "aria-label": t('layouts.mailers.service_footer.schedule') }
|
||||
= service.horaires
|
||||
%dl.fr-text--sm
|
||||
.flex.fr-mb-1w
|
||||
%dt.fr-mr-1v
|
||||
%span.help-dropdown-service-item.fr-icon-mail-fill.fr-icon--sm{ "aria-label": t('layouts.mailers.service_footer.by_email') }
|
||||
%dd
|
||||
= link_to service.email, "mailto:#{service.email}", role: 'menuitem'
|
||||
.flex.fr-mb-1w
|
||||
%dt.fr-mr-1v
|
||||
%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