Skip to content
Snippets Groups Projects
Commit c72d27a6 authored by Sébastien Brindle's avatar Sébastien Brindle
Browse files

Fix modal content display.

parent 851636b5
Branches
Tags 1.2.4
No related merge requests found
......@@ -40,5 +40,8 @@ props:
type: string
title: Title
description: 'By default: "Manage consent", or the translated string in another language.'
slots:
modal_content:
title: Transcription modal content
required:
- services
......@@ -8,6 +8,9 @@ props:
type: string
title: Title
description: 'By default: "Display settings", or the translated string in another language.'
slots:
modal_content:
title: Transcription modal content
libraryOverrides:
dependencies:
- dsfr4drupal/component.display
{# This component needs access to the "dsfr_path" variable. It is therefore necessary to authorize the transmission of the context. #}
{% embed 'dsfr4drupal:modal' with {
attributes: create_attribute({'class': ['fr-col-12', 'fr-col-lg-4', 'fr-col-md-6']}),
html_id: 'modal-display-settings',
......
......@@ -21,7 +21,6 @@
{% embed 'dsfr4drupal:modal' with {
attributes: create_attribute({'class': ['fr-col-12', 'fr-col-lg-8', 'fr-col-md-10']}),
content: content,
html_id: modal_id,
title: modal_title,
} only %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment