mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-21 07:14:11 +00:00
[style] prevent Vue node selection outline being obscured by image output (#6061)
## Summary Adds `px-2` on image to prevent this issue (below) - I think there's a better solution but I'm not really sure what it is. We use outline for selection state and it's somewhat complex how our ring/border/outline with many different node states and interactions works right now. It will take some CSS skill to allow the images to be totally flush. <img width="720" height="715" alt="image" src="https://github.com/user-attachments/assets/0283e036-7a31-45ef-b5cc-af3ac73171c9" /> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6061-style-prevent-Vue-node-selection-outline-being-obscured-by-image-output-28c6d73d365081d59b34d8f91252de92) by [Unito](https://www.unito.io) --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 83 KiB |
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div
|
||||
v-if="imageUrls.length > 0"
|
||||
class="video-preview group relative flex size-full min-h-16 min-w-16 flex-col"
|
||||
class="video-preview group relative flex size-full min-h-16 min-w-16 flex-col px-2"
|
||||
tabindex="0"
|
||||
role="region"
|
||||
:aria-label="$t('g.videoPreview')"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div
|
||||
v-if="imageUrls.length > 0"
|
||||
class="image-preview group relative flex size-full min-h-16 min-w-16 flex-col"
|
||||
class="image-preview group relative flex size-full min-h-16 min-w-16 flex-col px-2"
|
||||
data-capture-node="true"
|
||||
tabindex="0"
|
||||
role="region"
|
||||
|
||||
Reference in New Issue
Block a user