Skip to content

Commit

Permalink
Also copy invite from room name
Browse files Browse the repository at this point in the history
  • Loading branch information
n9lsjr committed Oct 22, 2024
1 parent 324784e commit ebb646e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/rooms/components/TopBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ $: thisSwarm = $swarm.active.find(a => a.key === $rooms.thisRoom.key)

<div class="top" style="position: absolute; top: 0; left: 0; width: 100%; padding: 15px; border-bottom: 1px solid var(--border-color); height: 57px">
<div style="display: flex; padding-bottom: 10px">
<h3 title={roomName} class:asian style="padding-bottom: 2px; max-width: 200px; cursor: pointer; display: inline-block; overflow: hidden; text-overflow: ellipsis">{roomName}</h3>
<h3 title={roomName} class:asian style="padding-bottom: 2px; max-width: 200px; cursor: pointer; display: inline-block; overflow: hidden; text-overflow: ellipsis" on:click={() => copyThis(room)}>{roomName}</h3>
<div style="display: inline-block; margin-left: auto">
<Tooltip title="Invite key">
<div on:click={() => copyThis(room)}>
Expand Down

0 comments on commit ebb646e

Please sign in to comment.