style: added better box shadow and border radius to context menu
mellbacon committed
Jun 15, 2023 at 11:59 UTC
df6721e0df1f995834a31c2308c35ffff7502e55
1 file changed
+3
-2
src/lib/utility/ContextMenu.svelte
+3
-2
@@ -89,14 +89,15 @@
89
padding: 0.25rem;
90
z-index: 9999;
91
position: absolute;
92
- box-shadow: rgb(0 0 0 / 10%) 0px 0px 4px 2px;
92
+ box-shadow: 0 2px 6px rgba(0, 0, 0, .8);
93
+ border-radius: 3px;
94
}
95
.context-menu-option {
96
display: flex;
97
align-items: center;
98
justify-content: space-between;
99
height: 17px;
99
- padding: 5px 0;
100
+ padding: 6px 0;
101
width: 100%;
102
font-size: 0.875rem;
103
cursor: pointer;