Skip to content

Commit dc79bc0

Browse files
committed
perf: adapt multiple language insert button display
1 parent 38491d0 commit dc79bc0

File tree

1 file changed

+2
-2
lines changed
  • apps/nextjs-app/src/features/app/blocks/view/grid/components

1 file changed

+2
-2
lines changed

apps/nextjs-app/src/features/app/blocks/view/grid/components/RecordMenu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const InsertRecordRender = (props: InsertRecordRender) => {
6262
<Button
6363
variant={'ghost'}
6464
size="sm"
65-
className="mt-px size-full h-9 justify-start gap-0 px-4 py-2"
65+
className="size-full h-9 justify-start gap-0 px-4 py-2"
6666
onClick={() => {
6767
onClick(num);
6868
}}
@@ -223,7 +223,7 @@ export const RecordMenu = () => {
223223
<PopoverTrigger asChild style={style} className="absolute">
224224
<div className="size-0 opacity-0" />
225225
</PopoverTrigger>
226-
<PopoverContent className="h-auto w-60 rounded-md p-0" align="start">
226+
<PopoverContent className="size-auto min-w-40 rounded-md p-0" align="start">
227227
<Command ref={recordMenuRef} className="rounded-md border-none shadow-none" style={style}>
228228
<CommandList>
229229
{menuItemGroups.map((items, index) => {

0 commit comments

Comments
 (0)