correctif(procedure.edit): le fixed-footer venait en sur-elevation des options avancées la ou il etait présent

This commit is contained in:
Martin 2023-10-24 11:07:26 +02:00
parent dbd0e82b09
commit 79b5b25720
6 changed files with 61 additions and 42 deletions

View file

@ -628,6 +628,20 @@ textarea::placeholder {
color: $dark-grey; color: $dark-grey;
} }
@media (max-width: 62em) {
.padded-fixed-footer {
padding-top: 120px;
}
}
@media (min-width: 62em) {
.padded-fixed-footer {
padding-top: 60px;
}
}
.fixed-footer { .fixed-footer {
border-top: 2px solid $blue-france-500; border-top: 2px solid $blue-france-500;
position: fixed; position: fixed;

View file

@ -9,7 +9,8 @@
= render NestedForms::FormOwnerComponent.new = render NestedForms::FormOwnerComponent.new
= render TypesDeChampEditor::EditorComponent.new(revision: @procedure.draft_revision, is_annotation: true) = render TypesDeChampEditor::EditorComponent.new(revision: @procedure.draft_revision, is_annotation: true)
.fixed-footer .padded-fixed-footer
.fixed-footer
.fr-container .fr-container
%ul.fr-btns-group.fr-btns-group--inline-md %ul.fr-btns-group.fr-btns-group--inline-md
%li %li

View file

@ -8,7 +8,8 @@
= render NestedForms::FormOwnerComponent.new = render NestedForms::FormOwnerComponent.new
= render TypesDeChampEditor::EditorComponent.new(revision: @procedure.draft_revision) = render TypesDeChampEditor::EditorComponent.new(revision: @procedure.draft_revision)
.fixed-footer .padded-fixed-footer
.fixed-footer
.fr-container .fr-container
.flex .flex
%ul.fr-btns-group.fr-btns-group--inline-md %ul.fr-btns-group.fr-btns-group--inline-md

View file

@ -16,6 +16,7 @@
= render partial: 'administrateurs/procedures/informations', locals: { f: f } = render partial: 'administrateurs/procedures/informations', locals: { f: f }
.padded-fixed-footer
.fixed-footer .fixed-footer
.fr-container .fr-container
.fr-grid-row .fr-grid-row

View file

@ -15,6 +15,7 @@
= render partial: 'administrateurs/procedures/informations', locals: { f: f } = render partial: 'administrateurs/procedures/informations', locals: { f: f }
.padded-fixed-footer
.fixed-footer .fixed-footer
.fr-container .fr-container
.fr-grid-row .fr-grid-row

View file

@ -34,6 +34,7 @@
- if procedure_id.present? - if procedure_id.present?
= hidden_field_tag :procedure_id, procedure_id = hidden_field_tag :procedure_id, procedure_id
.padded-fixed-footer
.fixed-footer .fixed-footer
.fr-container .fr-container
%ul.fr-btns-group.fr-btns-group--inline-md %ul.fr-btns-group.fr-btns-group--inline-md