Replace paragraphs with list

This commit is contained in:
Corinne Durrmeyer 2024-07-30 15:22:52 +02:00
parent e847e9263e
commit f3bca9bfeb
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6
2 changed files with 16 additions and 15 deletions

View file

@ -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;
}

View file

@ -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