Updated toggle icons

pull/345/head
cagataycivici 2020-05-13 01:40:41 +03:00
parent ce1594986c
commit da80e5250a
4 changed files with 7 additions and 7 deletions

View File

@ -72,7 +72,7 @@ export default {
},
getSubmenuIcon(item) {
const active = this.isActive(item);
return ['p-panelmenu-icon pi pi-fw', {'pi-caret-right': !active, 'pi-caret-down': active}];
return ['p-panelmenu-icon pi pi-fw', {'pi-angle-right': !active, 'pi-angle-down': active}];
},
visible(item) {
return (typeof item.visible === 'function' ? item.visible() : item.visible !== false);

View File

@ -289,8 +289,8 @@ export default {
},
toggleIcon() {
return ['p-tree-toggler-icon pi pi-fw', {
'pi-caret-down': this.expanded,
'pi-caret-right': !this.expanded
'pi-angle-down': this.expanded,
'pi-angle-right': !this.expanded
}];
},
checkboxClass() {

View File

@ -18,7 +18,7 @@
<slot name="paginatorRight"></slot>
</template>
</TTPaginator>
<div class="p-treetable-tablewrapper">
<div class="p-treetable-wrapper">
<table ref="table">
<thead class="p-treetable-thead">
<tr>
@ -921,7 +921,7 @@ export default {
table-layout: auto;
}
.p-treetable-hoverable-rows .p-treetable-row {
.p-treetable-hoverable-rows .p-treetable-tbody > tr {
cursor: pointer;
}

View File

@ -13,7 +13,7 @@
</div>
</div>
<TTColumnSlot :node="node" :column="col" type="body" v-if="col.$scopedSlots.body" />
<template v-else>{{resolveFieldData(node.data, col.field)}}</template>
<template>{{resolveFieldData(node.data, col.field)}}</template>
</td>
</tr>
</template>
@ -218,7 +218,7 @@ export default {
return (this.selectionMode && this.selectionKeys) ? this.selectionKeys[this.node.key] === true : false;
},
togglerIcon() {
return ['p-treetable-toggler-icon pi', {'pi-chevron-right': !this.expanded, 'pi-chevron-down': this.expanded}];
return ['p-treetable-toggler-icon pi', {'pi-angle-right': !this.expanded, 'pi-angle-down': this.expanded}];
},
togglerStyle() {
return {