Fix context menus
This commit is contained in:
parent
da3e4621d4
commit
52b1307bec
4 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
.ContextMenu {
|
.menu {
|
||||||
background: var(--menu-bg);
|
background: var(--menu-bg);
|
||||||
border-radius: $input-corner;
|
border-radius: $input-corner;
|
||||||
padding: $unit 0;
|
padding: $unit 0;
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ export const ContextMenuContent = React.forwardRef<HTMLDivElement, Props>(
|
||||||
function ContextMenu({ children, ...props }, forwardedRef) {
|
function ContextMenu({ children, ...props }, forwardedRef) {
|
||||||
const classes = classNames(
|
const classes = classNames(
|
||||||
{
|
{
|
||||||
ContextMenu: true,
|
[styles.menu]: true,
|
||||||
},
|
},
|
||||||
props.className
|
props.className
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
.ContextItem {
|
.item {
|
||||||
color: var(--menu-text);
|
color: var(--menu-text);
|
||||||
font-size: $font-regular;
|
font-size: $font-regular;
|
||||||
padding: ($unit * 1.5) $unit-2x;
|
padding: ($unit * 1.5) $unit-2x;
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ const ContextMenuItem = React.forwardRef<HTMLDivElement, Props>(
|
||||||
function ContextMenu({ children, ...props }, forwardedRef) {
|
function ContextMenu({ children, ...props }, forwardedRef) {
|
||||||
const classes = classNames(
|
const classes = classNames(
|
||||||
{
|
{
|
||||||
ContextItem: true,
|
[styles.item]: true,
|
||||||
},
|
},
|
||||||
props.className
|
props.className
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue