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 { .help-dropdown-service-item {
margin-top: $default-spacer; margin-top: $default-spacer;
line-height: 18px; line-height: 18px;
} }

View file

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