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 1
1
<template >
2
2
<div
3
3
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"
4
5
>
5
6
<router-link
6
7
:to =" { name: 'editPage', params: { pageId: page.path } }"
16
17
/>
17
18
</router-link >
18
19
<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 >
20
27
<template v-slot :button >
21
28
<button
22
29
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 {
85
92
props: {
86
93
page: { type: Object , required: true },
87
94
},
95
+ data () {
96
+ return {
97
+ hovered: false ,
98
+ }
99
+ },
88
100
computed: {
89
101
isIndexPage () {
90
102
return this .services .page .isIndex (this .page )
You can’t perform that action at this time.
0 commit comments