diff --git a/app/assets/stylesheets/components/data_provider_card.css b/app/assets/stylesheets/components/data_provider_card.css new file mode 100644 index 0000000000..00096e6e29 --- /dev/null +++ b/app/assets/stylesheets/components/data_provider_card.css @@ -0,0 +1,14 @@ +.data-provider-card-img { + background: white; + display: flex; + align-items: center; + justify-content: center; + padding: 1.5rem; + min-height: 9rem; +} + +.data-provider-card-img img { + max-height: 6rem; + max-width: 80%; + object-fit: contain; +} diff --git a/app/components/instructor_menu_component.html.erb b/app/components/instructor_menu_component.html.erb index e5aa3c95e0..0fda255f42 100644 --- a/app/components/instructor_menu_component.html.erb +++ b/app/components/instructor_menu_component.html.erb @@ -4,6 +4,14 @@ +<% if show_definitions && helpers.feature_flag_formulaires_management_visible? %> +
+ <%= slug %>
+
<%= t('.empty') %>
+<% else %> +