Browse Source

update form demo

pull/76/head
simaQ 9 years ago
parent
commit
d5b5895301
  1. 2
      components/form/demo/disabled.md
  2. 2
      components/form/demo/horizontal-form.md
  3. 4
      components/form/demo/inline-form.md
  4. 6
      components/form/demo/inputs.md
  5. 2
      components/form/demo/mix.md
  6. 2
      style/themes/default/custom.less

2
components/form/demo/disabled.md

@ -53,7 +53,7 @@
</div>
<div class="row">
<div class="col-14 col-offset-5">
<input type="submit" class="ant-btn ant-btn-primary" value="确定">
<input type="submit" class="ant-btn ant-btn-primary" value="确 定">
</div>
</div>
</fieldset>

2
components/form/demo/horizontal-form.md

@ -51,7 +51,7 @@
</div>
<div class="row">
<div class="col-16 col-offset-6">
<input type="submit" class="ant-btn ant-btn-primary" value="确定" />
<input type="submit" class="ant-btn ant-btn-primary" value="确 定" />
</div>
</div>
</form>

4
components/form/demo/inline-form.md

@ -16,7 +16,7 @@
<label for="password">密码:</label>
<input class="ant-input" type="password" id="password" placeholder="请输入密码"/>
</div>
<input type="submit" class="ant-btn ant-btn-primary" value="登录" />
<input type="submit" class="ant-btn ant-btn-primary" value="登 录" />
</form>
<br />
@ -33,7 +33,7 @@
<input type="checkbox"> 记住我
</label>
</div>
<input type="submit" class="ant-btn ant-btn-primary" value="登录" />
<input type="submit" class="ant-btn ant-btn-primary" value="登 录" />
</form>
````

6
components/form/demo/inputs.md

@ -72,13 +72,13 @@
</div>
<div class="col-18">
<div class="ant-input-group">
<div class="col-6">
<div class="col-8">
<input class="ant-input" type="text" id="tel1" />
</div>
<div class="col-6">
<div class="col-8">
<input class="ant-input" type="text" id="tel2" />
</div>
<div class="col-6">
<div class="col-8">
<input class="ant-input" type="text" id="tel3" />
</div>
</div>

2
components/form/demo/mix.md

@ -81,7 +81,7 @@ React.render(
</div>
</div>
<div className="ant-form-item">
<label className="col-6" for="site4">按钮式下拉输入框</label>
<label className="col-6" for="site4">按钮式下拉输入框:</label>
<div className="col-16">
<div className="ant-input-group">
<input type="text" className="ant-input" id="site4" placeholder="Search for..." />

2
style/themes/default/custom.less

@ -112,7 +112,7 @@
@legend-border-color : #d9d9d9;
// Label
@label-required-color : #F60;
@label-color: #999;
@label-color : #666;
// Input
@input-height-base: 28px;
@input-height-lg: 32px;

Loading…
Cancel
Save