Skip to content

Commit

Permalink
Merge pull request #597 from SimonLeclere/main
Browse files Browse the repository at this point in the history
Update Links.tsx -> fix button shift when columns > 1
  • Loading branch information
gonzalrick authored Jun 6, 2023
2 parents 4e3a824 + d6bb637 commit d859d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/widgets/links/Links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Links: FC<Props> = ({ data = defaultData }) => {
<div
className="Links"
style={{
gridTemplateColumns: "1fr ".repeat(data.columns),
gridTemplateColumns: data.visible || visible ? "1fr ".repeat(data.columns) : "1fr",
textAlign: data.columns > 1 ? "left" : "inherit",
}}
>
Expand Down

0 comments on commit d859d76

Please sign in to comment.