Skip to content

Commit

Permalink
better alignment for secret toggle control (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelquigley committed Dec 20, 2024
1 parent 544c175 commit bc2e07f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui100/src/SecretToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const SecretToggle = ({ secret }: SecretToggleProps) => {
<Grid2 display="flex" justifyContent="left">
<span>{secret}</span>
</Grid2>
<Grid2 display="flex" justifyContent="right">
<Grid2 display="flex" justifyContent="right" sx={{ flexGrow: 1 }}>
<HideIcon onClick={toggle} sx={{ ml: 1 }}/>
</Grid2>
</Grid2>
Expand All @@ -29,7 +29,7 @@ const SecretToggle = ({ secret }: SecretToggleProps) => {
<Grid2 display="flex" justifyContent="left">
<span>XXXXXXXX</span>
</Grid2>
<Grid2 display="flex" justifyContent="right">
<Grid2 display="flex" justifyContent="right" sx={{ flexGrow: 1 }}>
<ShowIcon onClick={toggle} sx={{ ml: 1 }} />
</Grid2>
</Grid2>
Expand Down

0 comments on commit bc2e07f

Please sign in to comment.