remove padding x from context menu

This commit is contained in:
geoffrey45
2022-08-03 01:16:43 +03:00
parent db81ee5de3
commit aeb9cb1d1c
+2 -5
View File
@@ -1,5 +1,4 @@
<template> <template>
<!-- v-show="context.visible" -->
<div <div
class="context-menu rounded shadow-lg" class="context-menu rounded shadow-lg"
:class="[ :class="[
@@ -60,7 +59,7 @@ const context = useContextStore();
z-index: 10000 !important; z-index: 10000 !important;
transform: scale(0); transform: scale(0);
padding: $small; padding: $small 0;
background: $context; background: $context;
transform-origin: top left; transform-origin: top left;
font-size: 0.875rem; font-size: 0.875rem;
@@ -71,7 +70,6 @@ const context = useContextStore();
align-items: center; align-items: center;
cursor: default; cursor: default;
padding: $small; padding: $small;
border-radius: $small;
position: relative; position: relative;
text-transform: capitalize; text-transform: capitalize;
@@ -90,7 +88,7 @@ const context = useContextStore();
top: -0.5rem; top: -0.5rem;
max-height: 23.5rem; max-height: 23.5rem;
padding: $small !important; padding: $small 0 !important;
background-color: $context; background-color: $context;
transform: scale(0); transform: scale(0);
transform-origin: top left; transform-origin: top left;
@@ -180,7 +178,6 @@ const context = useContextStore();
.context-many-kids { .context-many-kids {
.context-item > .children { .context-item > .children {
// top: -0.5rem;
overflow-y: auto; overflow-y: auto;
} }
} }