remove .pd-rg .pd-lf

This commit is contained in:
simaQ 2015-07-08 20:15:02 +08:00
parent 90ebbb30bc
commit 3710ac73e3
3 changed files with 6 additions and 15 deletions

View File

@ -11,13 +11,13 @@
````html ````html
<div class="row"> <div class="row">
<div class="col-6 pdrg-8"> <div class="col-6">
<input class="ant-input ant-input-lg" type="text" id="largeInput" placeholder="大尺寸"/> <input class="ant-input ant-input-lg" type="text" id="largeInput" placeholder="大尺寸"/>
</div> </div>
<div class="col-6 pdrg-8"> <div class="col-6">
<input class="ant-input" type="text" id="defaultInput" placeholder="默认尺寸"/> <input class="ant-input" type="text" id="defaultInput" placeholder="默认尺寸"/>
</div> </div>
<div class="col-6 pdrg-8"> <div class="col-6">
<input class="ant-input ant-input-sm" type="text" id="smallInput" placeholder="小尺寸"/> <input class="ant-input ant-input-sm" type="text" id="smallInput" placeholder="小尺寸"/>
</div> </div>
</div> </div>

View File

@ -26,14 +26,14 @@ React.render(
<form className="ant-form-horizontal"> <form className="ant-form-horizontal">
<div className="ant-form-item"> <div className="ant-form-item">
<label className="col-6" required>Input-Number:</label> <label className="col-6" required>Input-Number:</label>
<div className="col-6 pdrg-8"> <div className="col-6">
<InputNumber min={1} max={10} defaultValue={3} onChange={onChange} style={{width:100}}/> <InputNumber min={1} max={10} defaultValue={3} onChange={onChange} style={{width:100}}/>
</div> </div>
<div className="col-3"><p className="ant-form-text"> 台机器</p></div> <div className="col-3"><p className="ant-form-text"> 台机器</p></div>
</div> </div>
<div className="ant-form-item"> <div className="ant-form-item">
<label className="col-6" required><i className="anticon anticon-exclamation-circle"></i>我是标题:</label> <label className="col-6" required><i className="anticon anticon-exclamation-circle"></i>我是标题:</label>
<div className="col-7 pdrg-8"> <div className="col-7">
<p className="ant-form-text">唧唧复唧唧木兰当户织呀</p> <p className="ant-form-text">唧唧复唧唧木兰当户织呀</p>
</div> </div>
<div className="col-9"> <div className="col-9">

View File

@ -1,12 +1,3 @@
//== Typography //== Typography
//** Headings: h1 h2 h3 h4 h5 h6 //** Headings: h1 h2 h3 h4 h5 h6
.pdrg-8 {
padding-right: 8px;
}
.pdlf-8 {
padding-left: 8px;
}