mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
made popover open to the right on password copy field, fixed icon size on widget schedules
This commit is contained in:
@ -391,3 +391,11 @@ input[type="search"]::-webkit-search-results-decoration { display: none; }
|
|||||||
{
|
{
|
||||||
font-size: 2rem !important;
|
font-size: 2rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dashboard-schedule-icon
|
||||||
|
{
|
||||||
|
font-size: 1rem !important;
|
||||||
|
position: relative;
|
||||||
|
top: -13px;
|
||||||
|
margin-right: 3px;
|
||||||
|
}
|
||||||
|
@ -25,7 +25,8 @@ import {QFieldType} from "@kingsrook/qqq-frontend-core/lib/model/metaData/QField
|
|||||||
import {QInstance} from "@kingsrook/qqq-frontend-core/lib/model/metaData/QInstance";
|
import {QInstance} from "@kingsrook/qqq-frontend-core/lib/model/metaData/QInstance";
|
||||||
import {QRecord} from "@kingsrook/qqq-frontend-core/lib/model/QRecord";
|
import {QRecord} from "@kingsrook/qqq-frontend-core/lib/model/QRecord";
|
||||||
import "datejs"; // https://github.com/datejs/Datejs
|
import "datejs"; // https://github.com/datejs/Datejs
|
||||||
import {Box, Chip, ClickAwayListener, Icon} from "@mui/material";
|
import {Chip, ClickAwayListener, Icon} from "@mui/material";
|
||||||
|
import Box from "@mui/material/Box";
|
||||||
import Button from "@mui/material/Button";
|
import Button from "@mui/material/Button";
|
||||||
import Tooltip from "@mui/material/Tooltip";
|
import Tooltip from "@mui/material/Tooltip";
|
||||||
import parse from "html-react-parser";
|
import parse from "html-react-parser";
|
||||||
@ -525,15 +526,13 @@ function RevealComponent({fieldName, value, usage}: {fieldName: string, value: s
|
|||||||
{displayValue}
|
{displayValue}
|
||||||
<ClickAwayListener onClickAway={handleTooltipClose}>
|
<ClickAwayListener onClickAway={handleTooltipClose}>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
sx={{zIndex: 1000}}
|
sx={{zIndex: 1000, border: "1px solid red"}}
|
||||||
PopperProps={{
|
|
||||||
disablePortal: true,
|
|
||||||
}}
|
|
||||||
onClose={handleTooltipClose}
|
onClose={handleTooltipClose}
|
||||||
open={tooltipOpen}
|
open={tooltipOpen}
|
||||||
disableFocusListener
|
disableFocusListener
|
||||||
disableHoverListener
|
disableHoverListener
|
||||||
disableTouchListener
|
disableTouchListener
|
||||||
|
placement="right"
|
||||||
title="Copied To Clipboard"
|
title="Copied To Clipboard"
|
||||||
>
|
>
|
||||||
<Icon onClick={(e) => copyToClipboard(e, value)} sx={{cursor: "pointer", fontSize: "15px !important", position: "relative", top: "3px", marginLeft: "5px"}}>copy</Icon>
|
<Icon onClick={(e) => copyToClipboard(e, value)} sx={{cursor: "pointer", fontSize: "15px !important", position: "relative", top: "3px", marginLeft: "5px"}}>copy</Icon>
|
||||||
|
Reference in New Issue
Block a user