Skip to content

Commit

Permalink
Merge pull request #234 from CityOfZion/CU-86a5b4q0v
Browse files Browse the repository at this point in the history
CU-86a5b4q0v-NEON3 - BUG - When test network is connected, the user c…
  • Loading branch information
thiagocbalducci authored Oct 24, 2024
2 parents b3be8cb + 70e096e commit 1e13b2c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/renderer/src/components/CustomProfileBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ const Banner = () => {

return (
<div className="w-screen border-t-3 border-purple flex justify-center absolute top-drag-region left-0 z-50">
<div className="w-4.5 h-4.5 overflow-hidden relative before:content-[''] before:block before:w-[100%] before:h-[100%] before:absolute before:top-0 before:left-0 before:shadow-[0.563rem_-0.563rem_0_0] before:shadow-purple before:rounded-[50%]" />
<span className="text-white text-xs px-2.5 pb-1 pt-0.5 tracking-wide rounded-b-md bg-purple uppercase">
{selectedNetworkProfile.name}
</span>
<div className="w-4.5 h-4.5 overflow-hidden relative before:content-[''] before:block before:w-[100%] before:h-[100%] before:absolute before:top-0 before:left-0 before:shadow-[-0.563rem_-0.563rem_0_0] before:shadow-purple before:rounded-[50%]" />
<div className="flex justify-center absolute">
<div className="w-4.5 h-4.5 overflow-hidden relative before:content-[''] before:block before:w-[100%] before:h-[100%] before:absolute before:top-0 before:left-0 before:shadow-[0.563rem_-0.563rem_0_0] before:shadow-purple before:rounded-[50%]" />
<span className="text-white text-xs px-2.5 pb-1 pt-0.5 tracking-wide rounded-b-md bg-purple uppercase block truncate max-w-[400px]">
{selectedNetworkProfile.name}
</span>
<div className="w-4.5 h-4.5 overflow-hidden relative before:content-[''] before:block before:w-[100%] before:h-[100%] before:absolute before:top-0 before:left-0 before:shadow-[-0.563rem_-0.563rem_0_0] before:shadow-purple before:rounded-[50%]" />
</div>
</div>
)
}
Expand Down

0 comments on commit 1e13b2c

Please sign in to comment.