mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-28 18:22:40 +00:00
fix: add tooltips for various settings in the right side panel (#8278)
<img width="1264" height="730" alt="CleanShot 2026-01-23 at 21 27 45@2x" src="https://github.com/user-attachments/assets/9834b673-8467-44c0-b487-d9dd9e4475d0" /> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8278-fix-add-tooltips-for-various-settings-in-the-right-side-panel-2f16d73d365081e2816cfdf24fa7687f) by [Unito](https://www.unito.io)
This commit is contained in:
@@ -25,13 +25,18 @@ defineProps<{
|
||||
"
|
||||
:class="
|
||||
cn(
|
||||
'text-sm text-muted-foreground truncate',
|
||||
'text-sm text-muted-foreground truncate group',
|
||||
tooltip ? 'cursor-help' : '',
|
||||
singleline ? 'flex-1' : ''
|
||||
)
|
||||
"
|
||||
>
|
||||
{{ label }}
|
||||
|
||||
<i
|
||||
v-if="tooltip"
|
||||
class="icon-[lucide--info] ml-0.5 size-3 relative top-[1px] group-hover:text-primary"
|
||||
/>
|
||||
</span>
|
||||
<slot />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user