Skip to content

Commit

Permalink
Merge pull request #1 from ThilakReddyy/master
Browse files Browse the repository at this point in the history
Fix: Button Alignment Issue
  • Loading branch information
ThilakReddyy authored Dec 16, 2023
2 parents 7b13704 + 51cfc9a commit 44445e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions playground/src/layout/sides/particials/data/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ function Attributes() {
render: (_, record) => {
const editable = isEditing(record);
return editable ? (
<span>
<span className="flex flex-col" style={{ width: "fit-content" }}>
<Button type="primary" onClick={() => save(record.key)}>Save</Button>
<Button className="ml-8 text-white" type="link"
<Button className="text-white" type="link"
onClick={() => cancel(record.key)}>Cancel</Button>
</span>
) : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function Relationships() {
return editable ? (
<span className="flex flex-col" style={{ width: "fit-content" }}>
<Button type="primary" onClick={() => save(record.key)}>Save</Button>
<Button className="ml-8 text-white" type="link"
<Button className="text-white" type="link"
onClick={() => cancel(record.key)}>Cancel</Button>
</span>
) : (
Expand Down

0 comments on commit 44445e9

Please sign in to comment.