Skip to content

Commit

Permalink
[web_widget_mermaid_field] Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorHachard committed Jun 1, 2024
1 parent 6ae7a96 commit 405a924
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web_widget_mermaid_field/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@

<p>Can be used to have a horizontal scroll bar for the diagram.</p>

<pre>&lt;field name=&quot;mermaid_diagram&quot; widget=&quot;mermaid&quot; options=&quot;{'mermaid_scroll_x': True, 'division_ration': 1.5}&quot;/&gt;</pre>
<pre>
&lt;group&gt;
&lt;field colspan=&quot;2&quot; nolabel=&quot;1&quot; name=&quot;mermaid_diagram&quot; widget=&quot;mermaid&quot; options=&quot;{'mermaid_scroll_x': True, 'division_ration': 1.5}&quot;/&gt;
&lt;/group&gt;
</pre>

<div class="my-2">
<img src="print_sale_stock.png" alt="Mermaid Widget Screenshot" style="width: 50%;">
Expand Down

0 comments on commit 405a924

Please sign in to comment.