Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 21 additions & 4 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3609,21 +3609,38 @@ code,
display: flex;
justify-content: center;
align-items: center;
padding: 10px 0 6px;
/* Generous hit area (>= 44px tall) for comfortable touch dragging — WCAG 2.5.5 */
padding: 14px 0 10px;
cursor: grab;
touch-action: none;
flex-shrink: 0;
}

/* Make the pill more prominent on hover/drag so its draggable affordance is clear. */
.bottom-sheet__handle-area:hover .bottom-sheet__handle,
.bottom-sheet__handle-area:active .bottom-sheet__handle {
width: 52px;
background: var(--muted);
}

.bottom-sheet__handle-area:active {
cursor: grabbing;
}

.bottom-sheet__handle {
width: 40px;
height: 4px;
border-radius: 2px;
width: 44px;
height: 5px;
border-radius: 999px;
background: var(--line-strong);
/* Smooth visual feedback while the handle widens on hover/drag. */
transition: width var(--transition-speed) ease, background var(--transition-speed) ease;
}

/* Respect reduced-motion preference: drop the resize animation. */
@media (prefers-reduced-motion: reduce) {
.bottom-sheet__handle {
transition: none;
}
}

/* Header row */
Expand Down