better alignment for secret toggle control (#724)

This commit is contained in:
Michael Quigley 2024-12-20 10:53:05 -05:00
parent 544c1757f5
commit bc2e07f3b8
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -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>
@ -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>