From 2cf1b4ce3fa207c489d7f96e0f94bec3d44cbcff Mon Sep 17 00:00:00 2001 From: HWFord Date: Fri, 5 Mar 2021 15:50:52 +0100 Subject: [PATCH] affiche drag du bloc, cache celui de la dataviz dans le composuer --- frontend/static/css/composer.css | 12 ++++++++++-- frontend/static/js/composer.js | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/frontend/static/css/composer.css b/frontend/static/css/composer.css index e36568f..f561704 100644 --- a/frontend/static/css/composer.css +++ b/frontend/static/css/composer.css @@ -188,7 +188,7 @@ #report-composition .drag{ /*background: #3095b4;*/ - color: white; + /*color: white;*/ position: absolute; } @@ -254,10 +254,18 @@ } #structure-models, #dataviz-items { - padding: 10px; + padding: 10px; margin-bottom:1rem; } +#structure-models .drag{ + background-color:white!important; +} + +.dataviz-container li .drag.badge{ + display:none; +} + .composition { min-height: 250px; } diff --git a/frontend/static/js/composer.js b/frontend/static/js/composer.js index c8ad1b0..00d2151 100644 --- a/frontend/static/js/composer.js +++ b/frontend/static/js/composer.js @@ -24,7 +24,7 @@ composer = (function () { var _blockTemplate = [ '
', - '', + '', '', '

drag

', '
',