From cc845dd235f7d3249420f48b68a920206bd891d3 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Thu, 28 May 2020 12:44:22 +0300 Subject: [PATCH] Use angle icon instead of caret --- src/components/contextmenu/ContextMenuSub.vue | 2 +- src/components/megamenu/MegaMenu.vue | 4 ++-- src/components/menubar/MenubarSub.vue | 2 +- src/components/tieredmenu/TieredMenuSub.vue | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/contextmenu/ContextMenuSub.vue b/src/components/contextmenu/ContextMenuSub.vue index eb73c4741..7ea2de84b 100755 --- a/src/components/contextmenu/ContextMenuSub.vue +++ b/src/components/contextmenu/ContextMenuSub.vue @@ -12,7 +12,7 @@ :aria-haspopup="item.items != null" :aria-expanded="item === activeItem" role="menuitem" :tabindex="item.disabled ? null : '0'"> {{item.label}} - + diff --git a/src/components/megamenu/MegaMenu.vue b/src/components/megamenu/MegaMenu.vue index 0dc1e95c4..5dceb6179 100755 --- a/src/components/megamenu/MegaMenu.vue +++ b/src/components/megamenu/MegaMenu.vue @@ -215,8 +215,8 @@ export default { }, getCategorySubMenuIcon() { return ['p-submenu-icon pi', { - 'pi-caret-down': this.horizontal, - 'pi-caret-right': this.vertical + 'pi-angle-down': this.horizontal, + 'pi-angle-right': this.vertical }]; }, getCategoryIcon(category) { diff --git a/src/components/menubar/MenubarSub.vue b/src/components/menubar/MenubarSub.vue index 52b2d6763..5dceee26d 100755 --- a/src/components/menubar/MenubarSub.vue +++ b/src/components/menubar/MenubarSub.vue @@ -263,7 +263,7 @@ export default { }, getSubmenuIcon() { return [ - 'p-submenu-icon pi', {'pi-caret-right': !this.root, 'pi-caret-down': this.root} + 'p-submenu-icon pi', {'pi-angle-right': !this.root, 'pi-angle-down': this.root} ]; }, visible(item) { diff --git a/src/components/tieredmenu/TieredMenuSub.vue b/src/components/tieredmenu/TieredMenuSub.vue index 7f2c61be3..ac96dc31e 100755 --- a/src/components/tieredmenu/TieredMenuSub.vue +++ b/src/components/tieredmenu/TieredMenuSub.vue @@ -12,7 +12,7 @@ @click="onItemClick($event, item)" @keydown="onItemKeyDown($event, item)" role="menuitem" :tabindex="item.disabled ? null : '0'"> {{item.label}} - +