mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-03 07:14:38 +03:00
Fix Record Inline Cell position on Edit mode (#5038)
Fixed 0.5 offset of inline cell edit mode
This commit is contained in:
parent
220a0e91d2
commit
88c14b7e52
@ -32,7 +32,12 @@ export const RecordInlineCellEditMode = ({
|
||||
}: RecordInlineCellEditModeProps) => {
|
||||
const { refs, floatingStyles } = useFloating({
|
||||
placement: 'right',
|
||||
middleware: [flip(), offset(-1)],
|
||||
middleware: [
|
||||
flip(),
|
||||
offset({
|
||||
crossAxis: -0.5,
|
||||
}),
|
||||
],
|
||||
whileElementsMounted: autoUpdate,
|
||||
});
|
||||
|
||||
|
@ -72,7 +72,7 @@ export const RecordTableRow = ({ recordId, rowIndex }: RecordTableRowProps) => {
|
||||
<RecordTableCellFieldContextWrapper />
|
||||
</RecordTableCellContext.Provider>
|
||||
))
|
||||
: visibleTableColumns.map((column, columnIndex) => (
|
||||
: visibleTableColumns.map((column) => (
|
||||
<td key={column.fieldMetadataId}></td>
|
||||
))}
|
||||
<td></td>
|
||||
|
Loading…
Reference in New Issue
Block a user