style(admin): fix alignement in editor with type de champ used by routing

This commit is contained in:
Colin Darie 2024-01-08 18:13:33 +01:00
parent bdff9a6064
commit 103e39159b
2 changed files with 5 additions and 5 deletions

View file

@ -33,10 +33,11 @@
}
}
.delete {
.right {
flex-grow: 1;
display: flex;
justify-content: flex-end;
align-items: center;
}
&.first .move-up {

View file

@ -5,13 +5,12 @@
%button.fr-btn.fr-btn--tertiary-no-outline.fr-icon-arrow-up-line.move-up{ move_button_options(:up) }
%button.fr-btn.fr-btn--tertiary-no-outline.fr-icon-arrow-down-line.move-down{ move_button_options(:down) }
.flex.right
- if coordinate.used_by_routing_rules?
.flex.align-center
%span
utilisé pour
= link_to('le routage', admin_procedure_groupe_instructeurs_path(revision.procedure_id, anchor: 'routing-rules'))
- else
.flex.justify-start.delete
= button_to type_de_champ_path, class: 'fr-btn fr-btn--tertiary-no-outline fr-icon-delete-line', title: "Supprimer le champ", method: :delete, form: { data: { turbo_confirm: 'Êtes vous sûr de vouloir supprimer ce champ ?' } } do
%span.sr-only Supprimer