Skip to content

Commit

Permalink
fixed flow comment size
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Oct 22, 2021
1 parent c9229e3 commit e8bfeb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 4 additions & 1 deletion packages/project-editor/flow/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2258,7 +2258,10 @@ function renderActionComponent(
</div>
)}
{body ? (
<div className="eez-flow-editor-capture-pointers">
<div
className="eez-flow-editor-capture-pointers"
style={{ width: "100%" }}
>
{body}
</div>
) : null}
Expand Down
5 changes: 1 addition & 4 deletions packages/project-editor/flow/components/actions/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2332,10 +2332,7 @@ const TrixEditor = observer(
};

return (
<div
className="eez-flow-editor-capture-pointers EezStudio_TrixEditor"
tabIndex={0}
>
<div className="EezStudio_TrixEditor" tabIndex={0}>
{React.createElement("trix-editor", attributes)}
<input id={inputId} value={value ?? ""} type="hidden"></input>
</div>
Expand Down

0 comments on commit e8bfeb0

Please sign in to comment.