Skip to content

Commit 393f77e

Browse files
authored
add widget-expands on Markdown widget (#6245)
## Summary Markdown widget also needs widget-expands class before adding widget-expands <img width="545" height="503" alt="image" src="https://github.com/user-attachments/assets/db8fbf0b-5371-4d2b-9e81-0a37b5e07086" /> after added widget-expands <img width="578" height="513" alt="image" src="https://github.com/user-attachments/assets/9aa94807-167d-4ee1-bcc3-ee23d2673dfe" /> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6245-add-widget-expands-on-Markdown-widget-2966d73d365081c29ae4c4c82fdf4372) by [Unito](https://www.unito.io)
1 parent ec11d78 commit 393f77e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/renderer/extensions/vueNodes/widgets/components/WidgetMarkdown.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<template>
22
<div
3-
class="widget-markdown relative w-full cursor-text"
3+
class="widget-expands widget-markdown relative w-full cursor-text"
44
@click="startEditing"
55
>
66
<!-- Display mode: Rendered markdown -->
77
<div
8-
class="comfy-markdown-content lod-toggle min-h-[60px] w-full overflow-y-auto rounded-lg px-4 py-2 text-sm hover:bg-[var(--p-content-hover-background)]"
8+
class="comfy-markdown-content lod-toggle h-full min-h-[60px] w-full overflow-y-auto rounded-lg px-4 py-2 text-sm hover:bg-[var(--p-content-hover-background)]"
99
:class="isEditing === false ? 'visible' : 'invisible'"
1010
v-html="renderedHtml"
1111
/>

0 commit comments

Comments
 (0)