Skip to content

Commit

Permalink
affiche drag du bloc,
Browse files Browse the repository at this point in the history
cache celui de la dataviz dans le composuer
  • Loading branch information
HWFord committed Mar 5, 2021
1 parent c101da0 commit 2cf1b4c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions frontend/static/css/composer.css
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

#report-composition .drag{
/*background: #3095b4;*/
color: white;
/*color: white;*/
position: absolute;
}

Expand Down Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/static/js/composer.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ composer = (function () {

var _blockTemplate = [
'<div class=" structure-bloc list-group-item">',
'<span class="drag badge">',
'<span class="drag badge mreport-primary-color-2-bg">',
'<i class="fas fa-arrows-alt"></i>',
'<p id="drag-tag">drag</p>',
'</span>',
Expand Down

0 comments on commit 2cf1b4c

Please sign in to comment.