mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
remove padding x from context menu
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user