Skip to content

Commit

Permalink
fix query performant tooltip padding (#5113)
Browse files Browse the repository at this point in the history
  • Loading branch information
CamronStaley authored Nov 14, 2024
1 parent 7300c9f commit 91b4a20
Showing 1 changed file with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,25 @@ const QueryPerformanceIcon = () => {
title={
<div>
{showExpanded ? (
<Box>
<Box sx={{ padding: "8px 8px 8px 8px" }}>
<SectionTitle>Query Performance is Enabled</SectionTitle>
<Text>
Some fields are indexed for better query performance. You can
create or manage indexes from here.
</Text>
<Box display="flex" alignItems="center">
<Box
display="flex"
alignItems="center"
paddingTop="8px"
gap="4px"
>
<Button
variant="contained"
sx={{
marginLeft: "auto",
backgroundColor: theme.primary.main,
color: theme.text.primary,
boxShadow: 0,
flexGrow: 1,
}}
onClick={() => {
window.open(QP_MODE, "_blank")?.focus();
Expand All @@ -75,7 +80,11 @@ const QueryPerformanceIcon = () => {
}}
variant="text"
color="secondary"
style={{ marginLeft: "auto", color: theme.text.secondary }}
sx={{
marginLeft: "auto",
color: theme.text.secondary,
flexGrow: 1,
}}
>
Got it
</Button>
Expand Down

0 comments on commit 91b4a20

Please sign in to comment.