]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Add helpful tip to docs
authorb-fuze <b-fuze.root@live.com>
Wed, 5 Dec 2018 02:33:34 +0000 (21:33 -0500)
committerJeremy Thomas <bbxdesign@gmail.com>
Wed, 5 Dec 2018 07:06:33 +0000 (07:06 +0000)
I was thinking if someone wasn't aware that you could also use `<button type="submit"></button>` instead of `<input type="submit">` that this could save them some time (and possibly prevent them abandoning the idea of using this lovely animated loading button)

docs/documentation/elements/button.html

index ea14646766f1dde1290a9a35933beac2adfda340..a54a97eecf359183fb0bbd4f665156370f4df2a1 100644 (file)
@@ -659,7 +659,7 @@ meta:
     <div class="message is-info">
       <div class="message-body">
         <p>
-          Since the loading spinner is implemented using the <code>:after</code> pseudo-element, it is not supported by the <code>&lt;input type="submit"&gt;</code> element.
+          Since the loading spinner is implemented using the <code>:after</code> pseudo-element, it is not supported by the <code>&lt;input type="submit"&gt;</code> element. Consider using <code>&lt;button type="submit"&gt;</code> instead.
         </p>
       </div>
     </div>