Skip to content

Commit 3b36507

Browse files
makes ai feature spotlighted in the ui
1 parent c3443b1 commit 3b36507

2 files changed

Lines changed: 19 additions & 5 deletions

File tree

webapp/packages/plugin-sql-editor/src/SqlResultTabs/ExecutionPlan/SqlExecutionPlanActionsMenu.module.css

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,18 @@
1515
height: unset;
1616
}
1717

18-
.toolsMenu .menuBarItemGroup .menuBarItem {
19-
& .menuBarItemLabel {
20-
display: none;
21-
}
18+
.executionPlanActions .menuBarItem {
19+
width: auto;
20+
height: auto;
21+
}
22+
23+
.executionPlanActions .menuBarItemBox {
24+
flex-direction: column-reverse;
25+
}
26+
27+
.executionPlanActions .menuBarItemLabel {
28+
writing-mode: vertical-rl;
29+
text-orientation: mixed;
30+
transform: rotate(180deg);
31+
white-space: nowrap;
2232
}

webapp/packages/plugin-sql-editor/src/SqlResultTabs/ExecutionPlan/SqlExecutionPlanActionsMenu.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ export const SqlExecutionPlanActionsMenu = observer<Props>(function SqlExecution
4646

4747
return (
4848
<SContext registry={registry}>
49-
<MenuBar menu={menu} className={s(menuBarStyles, { toolsMenu: true, floating: true, executionPlanActions: true })} />
49+
<MenuBar
50+
menu={menu}
51+
className={s(menuBarStyles, { toolsMenu: true, floating: true, withLabel: true, executionPlanActions: true })}
52+
compact={false}
53+
/>
5054
</SContext>
5155
);
5256
});

0 commit comments

Comments
 (0)