Bootstrap 靴带莫代尔车身出故障

sqougxex  于 2022-12-08  发布在  Bootstrap
关注(0)|答案(2)|浏览(115)

Bootstrap modal out of order

从上面的图像中可以看出,你会得到我的问题是什么的所有知识。

<a href="" data-target="#myModalView" data-toggle="modal" class="btn btn-sm btn-default"><span class="fa fa-eye"></span> View</a>


<div class="modal fade" id="myModalView" role="document">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
        <h4 class="modal-title">View Details</h4>
      </div>
      <div class="modal-body">
        <div class="row">
          <h3>jgnsdvolsgnvolkfngoelkfsngvje;alfnvojfelsnvo;eaflsnboa;fljnbjdfbnkjdfbkjfbkjfbvjkfjvnsjfvjsanvjsnvjsvjnbskjvsfjvnsfjn</h3>
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
      </div>
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>
<!-- /.modal -->
busg9geu

busg9geu1#

请尝试以下代码:
第一个

5kgi1eie

5kgi1eie2#

尝试将word-wrap:break-word规则添加到modal-body

相关问题