首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >模态内容会增长,但容器大小保持不变

模态内容会增长,但容器大小保持不变
EN

Stack Overflow用户
提问于 2015-11-27 00:48:41
回答 1查看 113关注 0票数 0

我使用angularjs显示我的模式,下面是模板:

代码语言:javascript
复制
<div class="modal-lg" modal="showModal" close="cancel()">
    <div class="modal-header">
        <h4>Cihaz Listesi - {{deviceCount}}</h4>
    </div>
    <div class="modal-body">
        <div class="row">
            <div class="col-sm-12 table-responsive">
                <table st-table="devices" st-safe-src="displayedDevices" class="table table-striped table-bordered table-hover">

                    <thead>
                        <tr>
                            <th>IMEI-1</th>
                            <th>IMEI-2</th>
                            <th>MSISDN</th>
                            <th>Yeni IMEI-1</th>
                            <th>Yeni IMEI-2</th>
                            <th>Durum</th>
                        </tr>
                    </thead>

                    <tbody>
                        <tr data-ng-repeat="device in devices"  ng-click="selectRow(device.ItsRepairImeiListId)" st-select-row="device" st-select-mode="multi">
                            <td>{{device.Imei1}}</td>
                            <td>{{device.Imei2}}</td>
                            <td>{{device.Msisdn}}</td>
                            <td>{{device.NewImei1}}</td>
                            <td>{{device.NewImei2}}</td>
                            <td>{{device.Status.StatusDescription}}</td>
                        </tr>
                    </tbody>

                    <tfoot>
                        <tr>
                            <td class="text-center" st-pagination="" st-items-by-page="10" colspan="7"></td>
                        </tr>
                    </tfoot>
                </table>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button ng-show="selectedRows.length > 0" class="btn btn-success" ng-click="activateSelected()">Aktif Et</button>
        <button class="btn btn-default" ng-click="cancel()">Kapat</button>
    </div>
</div>

class="modal-lg"本应使模式变大,但以下是使用后的外观:

我应该怎么做才能让这两个内容和容器一起成长?

EN

回答 1

Stack Overflow用户

发布于 2015-11-27 01:00:26

Türkmüsün :D表a宽度100%ata telefondayım net olarak bakamıyorumşu an sonra döneceğim sana

.tabloSinifim {宽度:100%;}

属性olarakta atayabilirsin。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33943620

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档