From afb32d17458303623f050224cba14739b27355d3 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Tue, 15 Aug 2017 18:40:08 +0800 Subject: Improve large Buttons and Forms --- docs/elements.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/elements.html') diff --git a/docs/elements.html b/docs/elements.html index 3994590..ba51922 100644 --- a/docs/elements.html +++ b/docs/elements.html @@ -959,6 +959,7 @@

Form icons

+

Spectre Form components has Spectre Icons support.

Add a wrapper with the has-icon-left/has-icon-right class to <input> element. And add the icon with form-icon class next to the <input>.

@@ -1210,7 +1211,7 @@

To use form validation styles, add is-success or is-error class to the controls or add has-success or has-error class to parent elements. You can use the form-input-hint class to provide form validation success and error messages.

-
+
form-input
@@ -1251,7 +1252,7 @@
- form-checkbox, radio and switch + form-checkbox, radio and switch (Error status only)