Skip to content

Commit 7734fd0

Browse files
authored
Intial logic for tooltip label position (#1087)
1 parent 10c86ef commit 7734fd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/layout_editor/src/components/SurfaceMenu/SurfaceItem.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const SurfaceItem = ({
1818
onRemove,
1919
type,
2020
cursor = 'grab',
21-
tooltipPosition = 'bottom',
21+
tooltipPosition = 'top',
2222
size,
2323
}) => {
2424
const { attributes, listeners, setNodeRef, transform, isDragging } =

packages/react/src/views/SurfaceMenu/SurfaceItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { Tooltip, ActionButton } from '@embeddedchat/ui-elements';
33

44
const SurfaceItem = ({ item, size }) => (
5-
<Tooltip text={item.label} position="bottom" key={item.id}>
5+
<Tooltip text={item.label} position="top" key={item.id}>
66
<ActionButton
77
square
88
ghost

0 commit comments

Comments
 (0)