Refactor names

This commit is contained in:
Nicola Benaglia 2025-05-10 14:43:31 +02:00
parent ad19a83b04
commit 373912b69c
2 changed files with 5 additions and 5 deletions

View File

@ -2,8 +2,8 @@ import { useTheme } from '@mui/material';
export const CopyIcon = ({ color, height = 11, width = 10 }) => { export const CopyIcon = ({ color, height = 11, width = 10 }) => {
const theme = useTheme(); const theme = useTheme();
const setColor = color ? color : theme.palette.text.primary; const setColor = color ? color : theme.palette.text.primary;
return ( return (
<svg <svg
width={width} width={width}

View File

@ -27,23 +27,23 @@
z-index: 99999999; z-index: 99999999;
} }
.tooltip[data-theme='light'] .bottom { .tooltip[data-theme='light'] .core-panel {
background-color: #f1f1f1; background-color: #f1f1f1;
color: #000000; color: #000000;
} }
.tooltip[data-theme='dark'] .bottom { .tooltip[data-theme='dark'] .core-panel {
background-color: var(--bg-2); background-color: var(--bg-2);
color: var(--black); color: var(--black);
} }
.tooltip:hover .bottom { .tooltip:hover .core-panel {
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
z-index: 100; z-index: 100;
} }
.tooltip .bottom i { .tooltip .core-panel i {
bottom: 100%; bottom: 100%;
height: 12px; height: 12px;
left: 50%; left: 50%;