File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
app/frontend/editor/components/page/list Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 11<template >
22 <div
33 class =" flex items-center py-3 pl-6 pr-2 hover:bg-editor-primary hover:bg-opacity-5 transition-colors duration-200"
4+ @mouseenter =" hovered = true"
45 >
56 <router-link
67 :to =" { name: 'editPage', params: { pageId: page.path } }"
1617 />
1718 </router-link >
1819 <div class =" ml-auto pr-2 relative" >
19- <uikit-dropdown v-on =" $listeners" popoverClass =" tooltip-menu" >
20+ <button
21+ class =" px-1 py-1 rounded-full bg-editor-primary bg-opacity-0 hover:text-gray-900 text-gray-600 focus:outline-none hover:bg-opacity-10 transition-colors duration-200"
22+ v-if =" !hovered"
23+ >
24+ <uikit-icon name =" ri-more-2-fill" size =" 1.25rem" />
25+ </button >
26+ <uikit-dropdown v-on =" $listeners" popoverClass =" tooltip-menu" v-else >
2027 <template v-slot :button >
2128 <button
2229 class =" px-1 py-1 rounded-full bg-editor-primary bg-opacity-0 hover:text-gray-900 text-gray-600 focus:outline-none hover:bg-opacity-10 transition-colors duration-200"
@@ -85,6 +92,11 @@ export default {
8592 props: {
8693 page: { type: Object , required: true },
8794 },
95+ data () {
96+ return {
97+ hovered: false ,
98+ }
99+ },
88100 computed: {
89101 isIndexPage () {
90102 return this .services .page .isIndex (this .page )
You can’t perform that action at this time.
0 commit comments