From 0563ae1090b237bf0ad1f5b80e12c318fba8fee3 Mon Sep 17 00:00:00 2001 From: Xavier J Date: Mon, 19 Dec 2016 16:31:18 +0100 Subject: [PATCH] Fix CSS for default data block Infos --- app/assets/stylesheets/dossier_show.scss | 4 ++-- app/views/dossiers/_dossier_show.html.haml | 8 ++++---- .../users/description/champs/_header_section.html.haml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/dossier_show.scss b/app/assets/stylesheets/dossier_show.scss index f49b79f21..01fc543be 100644 --- a/app/assets/stylesheets/dossier_show.scss +++ b/app/assets/stylesheets/dossier_show.scss @@ -75,7 +75,7 @@ } } } - #infos { + .infos { .split-row { margin: 0 0 20px 0; } @@ -106,7 +106,7 @@ color: #000000; } } - #dossier, #pieces-jointes, #infos, #carto, #private-fields { + #dossier, #pieces-jointes, .infos, #carto, #private-fields { .body { padding: 20px 20px 0 20px; color: #000000; diff --git a/app/views/dossiers/_dossier_show.html.haml b/app/views/dossiers/_dossier_show.html.haml index 5ba0d0ee9..2dab02a73 100644 --- a/app/views/dossiers/_dossier_show.html.haml +++ b/app/views/dossiers/_dossier_show.html.haml @@ -51,7 +51,7 @@ - if @facade.procedure.individual_with_siret .default_data_block - %div.row.show-block#infos + %div.row.show-block.infos %div.header %div.col-lg-8.col-md-8.title-no-expanse %div.carret-right @@ -62,7 +62,7 @@ - unless @facade.entreprise.nil? .default_data_block - %div.row.show-block#infos_entreprise + %div.row.show-block.infos#infos_entreprise %div.header %div.col-lg-12.col-md-12.title %div.carret-right @@ -71,8 +71,8 @@ %div.body = render partial: '/dossiers/infos_entreprise' -.default_data_block - %div.row.show-block#infos_dossier +.default_data_block.default_visible + %div.row.show-block.infos#infos_dossier %div.header %div.col-lg-10.col-md-10.title %div.carret-right diff --git a/app/views/users/description/champs/_header_section.html.haml b/app/views/users/description/champs/_header_section.html.haml index 3c7deaf23..3eee2def8 100644 --- a/app/views/users/description/champs/_header_section.html.haml +++ b/app/views/users/description/champs/_header_section.html.haml @@ -1,5 +1,5 @@ .default_data_block.default_visible - %div.row.show-block#infos + %div.row.show-block.infos %div.header %div.col-lg-12.col-md-12.title %div.carret-right