Skip to content

Commit

Permalink
fix(components): Fix styling issue in machinesTableItem
Browse files Browse the repository at this point in the history
Added 'withArrow' prop to Popover component to display arrow correctly in the add tag popover. Adjusted the spacing between buttons in the Group component.
  • Loading branch information
Arispex committed Apr 5, 2024
1 parent 490c2c7 commit 3b40c9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/machinesTableItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export default function MachinesTableItem(props) {
</Group>
</Stack>
</Modal>
<Popover opened={isAddTagPopoverOpened}>
<Popover opened={isAddTagPopoverOpened} withArrow>
<Popover.Target>
<Tooltip label={"Add Tag"}>
<IconTag onClick={() => setIsAddTagPopoverOpened(!isAddTagPopoverOpened)}></IconTag>
Expand All @@ -233,7 +233,7 @@ export default function MachinesTableItem(props) {
<Stack>
<TextInput
label={"Add Tag"} {...addTagPopoverForm.getInputProps("newTag")}></TextInput>
<Group>
<Group justify={"space-between"}>
<Button type={"submit"}>Add</Button>
<Button
onClick={() => setIsAddTagPopoverOpened(!isAddTagPopoverOpened)}>Cancel</Button>
Expand Down

0 comments on commit 3b40c9e

Please sign in to comment.