]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Clarify modal documentation.
authorJustin Schiff <AmbientRevolution@gmail.com>
Thu, 24 Jan 2019 00:36:43 +0000 (16:36 -0800)
committerJeremy Thomas <bbxdesign@gmail.com>
Fri, 25 Jan 2019 08:17:07 +0000 (08:17 +0000)
docs/documentation/components/modal.html

index 0d36d6ad61f574e3bcbd6317d7c79217e6e4ef6b..22a397cc0e8c8f436117c8571905bc635e0f8d46 100644 (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">