Skip to content

Commit

Permalink
Match toolbar sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
aganders3 committed Apr 3, 2024
1 parent 4c99789 commit 9fe5dd2
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/components/DataControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,18 @@ interface DataControlsProps {

export default function DataControls(props: DataControlsProps) {
return (
<Box sx={{ display: "flex", flexDirection: "row", justifyContent: "space-between" }}>
<Box
sx={{
display: "flex",
flexDirection: "row",
justifyContent: "space-between",
// 5px margin makes this bar match the PlaybackControls height
// because that component uses primary buttons, which hava a 5px margin
margin: "5px",
}}
>
{/* TODO: make this do something */}
<ButtonIcon sdsIcon="infoCircle" sdsSize="large" sdsType="secondary" />
<ButtonIcon sdsIcon="infoCircle" sdsSize="medium" sdsType="secondary" />

<ButtonIcon
sdsIcon="share"
Expand All @@ -25,7 +34,7 @@ export default function DataControls(props: DataControlsProps) {
/>

{/* TODO: make this do something */}
<ButtonIcon sdsIcon="globeBasic" sdsSize="large" sdsType="secondary" />
<ButtonIcon sdsIcon="globeBasic" sdsSize="medium" sdsType="secondary" />
</Box>
);
}

0 comments on commit 9fe5dd2

Please sign in to comment.