[Style] Fix node preview header/title overflow (#4610)

This commit is contained in:
Christian Byrne
2025-07-30 11:46:50 -07:00
committed by GitHub
parent 2c84ecbf6e
commit efb08bf2ba
2 changed files with 135 additions and 2 deletions

View File

@@ -6,13 +6,14 @@ https://github.com/Nuked88/ComfyUI-N-Sidebar/blob/7ae7da4a9761009fb6629bc04c6830
<div class="_sb_node_preview">
<div class="_sb_table">
<div
class="node_header"
class="node_header overflow-ellipsis mr-4"
:title="nodeDef.display_name"
:style="{
backgroundColor: litegraphColors.NODE_DEFAULT_COLOR,
color: litegraphColors.NODE_TITLE_COLOR
}"
>
<div class="_sb_dot headdot" />
<div class="_sb_dot headdot pr-3" />
{{ nodeDef.display_name }}
</div>
<div class="_sb_preview_badge">{{ $t('g.preview') }}</div>