🔷 refactor context menu to accept context src

🔷 add a getCurrentDate function to get formatted date
This commit is contained in:
geoffrey45
2022-04-08 21:07:24 +03:00
parent 24db32ae09
commit 83330a7fad
13 changed files with 107 additions and 44 deletions
+1 -1
View File
@@ -12,6 +12,7 @@
'context-many-kids': context.hasManyChildren(),
},
]"
id="context-menu"
:style="{
left: context.x + 'px',
top: context.y + 'px',
@@ -56,7 +57,6 @@ const context = useContextStore();
top: 0;
left: 0;
width: 12rem;
height: min-content;
z-index: 10;
transform: scale(0);