Skip to content

Commit 3963d91

Browse files
authored
bug fix (#280)
1 parent 59557e7 commit 3963d91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/roam/src/components/DiscourseNodeMenu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ const NodeMenu = ({
170170
canEscapeKeyClose
171171
minimal
172172
target={trigger || <span />}
173+
className="relative z-50"
173174
position={Position.BOTTOM_LEFT}
174175
modifiers={{
175176
flip: { enabled: false },
@@ -242,9 +243,8 @@ export const TextSelectionNodeMenu = ({
242243
}) => {
243244
const trigger = (
244245
<Button
245-
minimal
246246
small
247-
className="rounded border border-[#d3d8de] bg-white px-2 py-1 shadow-md hover:border-[#bfccd6] hover:bg-[#f7f9fc]"
247+
className="relative z-50 rounded border border-[#d3d8de] bg-white px-2 py-1 shadow-md hover:border-[#bfccd6] hover:bg-[#f7f9fc]"
248248
icon={
249249
<div className="flex items-center gap-1">
250250
<svg

0 commit comments

Comments
 (0)