correction from PR reviews

This commit is contained in:
Lisa Durand 2024-01-08 14:38:59 +01:00
parent 6773843d52
commit 42d91c1eee
3 changed files with 5 additions and 3 deletions

View file

@ -16,6 +16,7 @@
width: 100%;
margin-bottom: $default-padding;
overflow: hidden;
scroll-margin: 1em;
.type-de-champ-container {
width: 100%;

View file

@ -8,4 +8,4 @@
- if level == 1
%a.fr-sidemenu__link{ href: "##{dom_id(header, :type_de_champ_editor)}" }= header.libelle
- else
%a.fr-sidemenu__link{ class: level == 3 ? 'custom-link-grey': '', href: "##{dom_id(header, :type_de_champ_editor)}" }= "-- #{header.libelle}"
%a.fr-sidemenu__link{ class: level >= 3 ? 'custom-link-grey': '', href: "##{dom_id(header, :type_de_champ_editor)}" }= "-- #{header.libelle}"

View file

@ -5,9 +5,10 @@
.fr-container
%h1 Configuration des annotations privées
%br
= render NestedForms::FormOwnerComponent.new
= render TypesDeChampEditor::EditorComponent.new(revision: @procedure.draft_revision, is_annotation: true)
.fr-grid-row
.fr-col
= render TypesDeChampEditor::EditorComponent.new(revision: @procedure.draft_revision, is_annotation: true)
.padded-fixed-footer
.fixed-footer