Scroll the prompt tooltip from the (i) icon wrapper, not only the button.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,12 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="group relative shrink-0">
|
<div class="group relative shrink-0" @wheel.prevent="onIconWheel">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="relative z-10 flex h-6 w-6 items-center justify-center rounded-full text-zinc-500 hover:text-amber-200"
|
class="relative z-10 flex h-6 w-6 items-center justify-center rounded-full text-zinc-500 hover:text-amber-200"
|
||||||
:aria-label="ariaLabel"
|
:aria-label="ariaLabel"
|
||||||
title="Copy prompt"
|
title="Copy prompt"
|
||||||
@click.stop="emit('copy', text)"
|
@click.stop="emit('copy', text)"
|
||||||
@wheel.prevent="onIconWheel"
|
|
||||||
>
|
>
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="h-4 w-4">
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="h-4 w-4">
|
||||||
<circle cx="12" cy="12" r="10" />
|
<circle cx="12" cy="12" r="10" />
|
||||||
|
|||||||
Reference in New Issue
Block a user