Skip to content

Commit

Permalink
Merge pull request #1487 from qdraw/feature/202403-dwnl-button
Browse files Browse the repository at this point in the history
spacing download button
  • Loading branch information
qdraw authored Mar 18, 2024
2 parents a33ac49 + 4e2721f commit ba57d59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions documentation/src/components/DownloadFeature/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,11 @@ export default function DownloadFeatures(): ReactElement {
<Button href={downloadUrl1} color="#25c2a0">
{downloadButton1Text}
</Button>
{downloadButton2Text ? (
{downloadButton2Text ? (<>
<br />
<Button href={downloadUrl2} color="#25c2a0">
{downloadButton2Text}
</Button>
</Button></>
) : null}
{systemDescription ? (
<>
Expand Down
6 changes: 3 additions & 3 deletions documentation/src/components/button.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";

export default function Button({ children, href, color }) {
return (
Expand All @@ -7,10 +6,11 @@ export default function Button({ children, href, color }) {
style={{
backgroundColor: color,
borderRadius: "2px",
display :"inline-block",
color: "#fff",
padding: "0.5rem",
marginBottom: "0.5rem",
marginRight: "0.5rem",
marginBottom: "0.4rem",
marginRight: "0.4rem",
}}
>
{children}
Expand Down

0 comments on commit ba57d59

Please sign in to comment.