Jump to content
  • 0

В Bootstrap верстке на малых устройствах все поля в 2 колонки


mstdmstd
 Share

Question

Всем привет,
В куске бутстрап кода где на средних и крупных устройствах все поля в 2 колонки :
 

<div class="row ">
<div class="form-group col-sm-12 col-md-6 ">
<label for="id" class="col-xs-12 col-sm-6 control-label">Id</label>
<div class="col-xs-12 col-sm-6">
<input class="form-control integer_input validate" value="1" id="id" readonly="">
</div>
</div>
<div class="form-group col-sm-12 col-md-6 ">
<label for="lender_name" class="col-xs-12 col-sm-6 control-label">Кредитор
<span class="required"> * </span>
</label>
<div class="col-xs-12 col-sm-6">
<input class="form-control string_input validate" value="DATA SERVICING CORPORATION, INC." id="lender_name" name="lender_name" maxlength="255">
</div>
</div>
</div>



и поэтому на очень маленьких устройствах все поля/лейблы складываются с новой строки
Preview

На ipad-ах я полагал что два блока полей(Id,lender_name) будут расположены с новых строк, но нет: Preview
Что я упустил ?

В онлайне :



Спасибо!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy