在Bootstrap组件上填充

时间:2014-02-05 13:30:07

标签: html css twitter-bootstrap padding

我正在使用bootstrap,但不确定我是否正确使用了列

我似乎无法获得边距和填充正确。

请参阅下面的图片和JS Fiddle

enter image description here

  <div class="row">
                <!-- MAIN LEFT CONTENT! -->
                <div class="col-lg-9">

                    <div class="panel panel-default">
                         <div class="panel-body">
                            <div class="alert alert-info">
                               <p><span>Pending approval</span>.Your profile is bring approved. This means others can't search for you just yet.</p>
                            </div>
                              <div class="col-lg-5 col-sm-4 col-xs-5 hot-not">
                               <div class="row">
                                  <div class="thumbnail">

1 个答案:

答案 0 :(得分:0)

规则.col-xs-5(第793行)正在修正宽度:

.col-xs-5 {
  width: 41.66666666666667%;
}

将其设置为50%:

.col-xs-5 {
  width: 50%;
}