grosse amélioration du positionnement des labels de tête de colonne + flêches de tri
This commit is contained in:
parent
8e33652af6
commit
02b52385fb
5 changed files with 22 additions and 6 deletions
|
@ -55,6 +55,15 @@
|
||||||
border: 1px solid #777777;
|
border: 1px solid #777777;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gamutable table .gt_labels {
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-ms-flex-pack: justify;
|
||||||
|
justify-content: space-between;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
.gamutable table th > div {
|
.gamutable table th > div {
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -53,6 +53,11 @@
|
||||||
thead {
|
thead {
|
||||||
border: 1px solid rgb(119, 119, 119);
|
border: 1px solid rgb(119, 119, 119);
|
||||||
}
|
}
|
||||||
|
.gt_labels {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
th > div {
|
th > div {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
|
@ -681,11 +681,13 @@ let monTableau = {
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th v-for="(label,head,i) in header" :key="'head_'+i" :class="[head,classes[head]]">
|
<th v-for="(label,head,i) in header" :key="'head_'+i" :class="[head,classes[head]]">
|
||||||
|
<span class="gt_labels">
|
||||||
|
<span v-html="label"></span>
|
||||||
<span class="iconeTri">
|
<span class="iconeTri">
|
||||||
<i class="fa fa-sort-asc fa-sort-up" :class="ordreActif(head, 'asc')" aria-hidden="true" @click.stop="tri(head,'asc')"></i>
|
<i class="fa fa-sort-asc fa-sort-up" :class="ordreActif(head, 'asc')" aria-hidden="true" @click.stop="tri(head,'asc')"></i>
|
||||||
<i class="fa fa-sort-desc fa-sort-down" :class="ordreActif(head, 'desc')" aria-hidden="true" @click.stop="tri(head,'desc')"></i>
|
<i class="fa fa-sort-desc fa-sort-down" :class="ordreActif(head, 'desc')" aria-hidden="true" @click.stop="tri(head,'desc')"></i>
|
||||||
</span>
|
</span>
|
||||||
<span v-html="label"></span>
|
</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="filtreCol.length" class="filtreColonne">
|
<tr v-if="filtreCol.length" class="filtreColonne">
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue