Skip to content

Commit ab2c3d3

Browse files
committed
Update the end session confirmation ui
1 parent 5779d6d commit ab2c3d3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

web/frontend/src/lib/EndSessionButton.svelte

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
</script>
1313

1414
{#if confirming}
15-
<div class="flex items-center justify-between text-xs">
16-
<span class="text-gray-300">End session?</span>
17-
<div class="flex gap-2">
18-
<button on:click={confirm} class="text-red-400 hover:text-red-300 font-semibold transition-colors">Yes</button>
19-
<button on:click={() => confirming = false} class="text-gray-400 hover:text-gray-300 transition-colors">No</button>
15+
<div class="w-full space-y-1.5">
16+
<p class="text-xs text-gray-400 text-center">End this session?</p>
17+
<div class="flex justify-center gap-2">
18+
<button on:click={confirm} class="w-[38%] text-xs py-1.5 rounded-md bg-red-600/20 hover:bg-red-600/35 text-red-400 hover:text-red-300 border border-red-500/30 font-semibold transition-colors">Yes</button>
19+
<button on:click={() => confirming = false} class="w-[38%] text-xs py-1.5 rounded-md bg-gray-700/40 hover:bg-gray-700/60 text-gray-400 hover:text-gray-300 border border-gray-600/30 transition-colors">No</button>
2020
</div>
2121
</div>
2222
{:else}

0 commit comments

Comments
 (0)