Skip to content

Commit 58a7ff0

Browse files
committed
fix: use responsive width for track session drawer
The fixed w-120 drawer anchored with right-0 pushed its left edge off-screen on viewports narrower than 30rem, and the body scroll lock made that content unreachable. Use max-w-120 w-full so the drawer fits small viewports and caps at 30rem on larger ones.
1 parent f660d56 commit 58a7ff0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/feature/CpTrackSessionPanel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ onUnmounted(() => {
6161
role="dialog"
6262
@click.self="emit('close')"
6363
>
64-
<div class="bg-white flex flex-row-reverse h-full w-120 right-0 top-0 fixed">
64+
<div class="bg-white flex flex-row-reverse h-full max-w-120 w-full right-0 top-0 fixed">
6565
<div class="p-3 h-full w-full overflow-y-auto">
6666
<div class="z-content flex top-0 justify-end sticky">
6767
<button

0 commit comments

Comments
 (0)