N°4049 Remove dashlet list free will 👾

This commit is contained in:
Stephen Abello
2021-06-02 16:59:14 +02:00
parent c11ad30134
commit 020dc8b819
3 changed files with 3 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ $ibo-dashlet--elements-spacing-y: 24px !default;
/* Rules */
.ibo-dashlet {
width: $ibo-dashlet--width;
width: calc(#{$ibo-dashlet--width} - #{$ibo-dashlet--elements-spacing-x});
margin: calc(#{$ibo-dashlet--elements-spacing-y} / 2) calc(#{$ibo-dashlet--elements-spacing-x} / 2);
&.dashlet-selected {

View File

@@ -73,6 +73,7 @@ $ibo-dashboard--top-bar-padding-bottom: 20px !default;
align-content: flex-start;
width: calc(100% + (2 * #{$ibo-dashboard--grid--elements-spacing-x}));
margin: calc(-1 * #{$ibo-dashboard--grid--elements-spacing-y} / 2) calc(-1 * #{$ibo-dashboard--grid--elements-spacing-x} / 2); /* Because of the margin all around the dashlets, we need to compensate it */
min-width: 0;
/* Compensate negative margin on inner borders to simulate egal dashlets spacing between columns */
&:not(:last-child) {

View File

@@ -2,7 +2,7 @@
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% set columns = oUIBlock.GetColumns() %}
<table id="{{ oUIBlock.GetId() }}" class="ibo-datatable listResults{% if oUIBlock.IsHidden() %} ibo-is-hidden{% endif %}">
<table id="{{ oUIBlock.GetId() }}" width="100%" class="ibo-datatable listResults{% if oUIBlock.IsHidden() %} ibo-is-hidden{% endif %}">
<thead>
<tr>
{% for column in columns %}