🐛 Fixing tooltip on checkboxes
This commit is contained in:
parent
62ee625f25
commit
961c7709a8
@ -1,8 +1,8 @@
|
||||
import React from "react";
|
||||
import Image from "next/image";
|
||||
import ToolTipIcon from "@Assets/Icons/tool-tip.svg";
|
||||
import TooltipMUI, { TooltipProps, tooltipClasses } from "@mui/material/Tooltip";
|
||||
import styled from "@emotion/styled";
|
||||
import TooltipMUI, { tooltipClasses, TooltipProps } from "@mui/material/Tooltip";
|
||||
import Image from "next/image";
|
||||
import React from "react";
|
||||
|
||||
type IProps = {
|
||||
title?: string | JSX.Element;
|
||||
@ -19,13 +19,13 @@ type IState = {
|
||||
const LightTooltip = styled(({ className, ...props }: TooltipProps) => <TooltipMUI {...props} classes={{ popper: className }} />)(
|
||||
({ theme }) => ({
|
||||
[`& .${tooltipClasses.tooltip}`]: {
|
||||
backgroundColor: "var(--colormerdum)",
|
||||
color: "var(--colormerdum)",
|
||||
backgroundColor: "var(--turquoise-flash)",
|
||||
color: "white",
|
||||
//boxShadow: theme.shadows[1],
|
||||
fontSize: 11,
|
||||
},
|
||||
[`& .${tooltipClasses.arrow}`]: {
|
||||
// color: theme.palette.common.black,
|
||||
color: "var(--turquoise-flash)",
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
@ -100,6 +100,11 @@ export default class AskDocuments extends BasePage<IProps, IState> {
|
||||
);
|
||||
}
|
||||
|
||||
override componentDidMount(): void {
|
||||
setTimeout(() => {
|
||||
debugger;
|
||||
}, 3000);
|
||||
}
|
||||
private openModal() {
|
||||
this.setState({
|
||||
isCreateDocumentModalVisible: true,
|
||||
|
@ -7,8 +7,6 @@
|
||||
|
||||
--font-primary: "Inter", sans-serif;
|
||||
|
||||
--colormerdum: blue;
|
||||
|
||||
--green-flash: #{$green-flash};
|
||||
--blue-flash: #{$blue-flash};
|
||||
--turquoise-flash: #{$turquoise-flash};
|
||||
|
Loading…
x
Reference in New Issue
Block a user