Clarify modal documentation.

This commit is contained in:
Justin Schiff 2019-01-23 16:36:43 -08:00 committed by Jeremy Thomas
parent a1d1cb38fa
commit ee34157876

View File

@ -81,7 +81,10 @@ meta:
{% highlight html %}{{ modal }}{% endhighlight %}
<div class="content">
<p>To <strong>activate</strong> the modal, just add the <code>is-active</code> modifier on the <code>.modal</code> container</p>
<p>
To <strong>activate</strong> the modal, just add the <code>is-active</code> modifier on the <code>.modal</code> container.
You may also want to add <code>is-clipped</code> modifier to a containing element (usually <code>html</code>) to stop scroll overflow.
</p>
</div>
<div class="message is-danger">