fix: Proper peer badge margins
Signed-off-by: Christoph Heiss <contact@christoph-heiss.at>
This commit is contained in:
parent
8db4c219ab
commit
00e43ad112
|
@ -145,21 +145,21 @@ export default function Index({ user }: IndexProps) {
|
||||||
|
|
||||||
{wgif.peers.map((peer) => (
|
{wgif.peers.map((peer) => (
|
||||||
<div key={peer.publicKey} className="card">
|
<div key={peer.publicKey} className="card">
|
||||||
<span className="chip ~neutral mr-2">
|
<span className="chip ~neutral">
|
||||||
Peer
|
Peer
|
||||||
</span>
|
</span>
|
||||||
{!peer.endpoint && (
|
{!peer.endpoint && (
|
||||||
<span className="chip ~critical">
|
<span className="chip ~critical ml-2">
|
||||||
Down
|
Down
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
{peer.hasPresharedKey
|
{peer.hasPresharedKey
|
||||||
? (
|
? (
|
||||||
<span className="chip ~positive">
|
<span className="chip ~positive ml-2">
|
||||||
Has preshared key
|
Has preshared key
|
||||||
</span>
|
</span>
|
||||||
) : (
|
) : (
|
||||||
<span className="chip ~critical">
|
<span className="chip ~critical ml-2">
|
||||||
No preshared key
|
No preshared key
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
|
Reference in a new issue