Add grid compact button

master
Mark Veidemanis 2 years ago
parent a9453b6459
commit aefd639e58
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -200,7 +200,7 @@
background-color:rgba(250, 250, 250, 0.8) !important;
}
.ui-close {
.float-right {
float: right;
}
.grid-stack-item:hover .ui-resizable-handle {

@ -11,7 +11,7 @@
{% block close_button %}
<i
class="fa-solid fa-xmark has-text-grey-light ui-close"
class="fa-solid fa-xmark has-text-grey-light float-right"
onclick='grid.removeWidget("drilldown-widget-{{ unique }}"); //grid.compact();'></i>
{% endblock %}

@ -4,7 +4,7 @@
<i class="fa-solid fa-arrows-up-down-left-right has-text-grey-light"></i>
{% block close_button %}
<i
class="fa-solid fa-xmark has-text-grey-light ui-close"
class="fa-solid fa-xmark has-text-grey-light float-right"
data-script="on click remove the closest <nav/>"></i>
{% endblock %}
{% block heading %}

@ -7,9 +7,12 @@
<i class="fa-solid fa-arrows-up-down-left-right has-text-grey-light"></i>
{% block close_button %}
<i
class="fa-solid fa-xmark has-text-grey-light ui-close"
onclick='grid.removeWidget("drilldown-widget-{{ unique }}"); grid.compact();'></i>
class="fa-solid fa-xmark has-text-grey-light float-right"
onclick='grid.removeWidget("drilldown-widget-{{ unique }}");'></i>
{% endblock %}
<i
class="fa-solid fa-arrows-minimize has-text-grey-light"
onclick='grid.compact();'></i>
{% block heading %}
{% endblock %}
</p>

Loading…
Cancel
Save