调整长度

master
OathK1per 2022-01-04 16:56:15 +08:00
parent 3dbb40c3c1
commit e720dd0838
2 changed files with 11 additions and 6 deletions

View File

@ -15,8 +15,8 @@
table {
display: block;
border-collapse: collapse;
width: 200px;
overflow-x: scroll;
/*width: 200px;*/
/*overflow-x: scroll;*/
}
</style>
<div class="admin-content">
@ -83,6 +83,7 @@
<div class="am-tabs-bd">
<div class="am-tab-panel am-fade am-in" id="tab2">
<div class="am-scrollable-horizontal">
<table class="am-table table-main" cellpadding="0" cellspacing="0">
<thead class="cal-table-left" style="overflow-x: scroll;">
<tr class="cal-table-left">
@ -103,7 +104,7 @@
</tr>
</thead>
<tbody class="cal-table-left" style="overflow-x: scroll;width: calc(100% - 180px);white-space: nowrap;">
<tbody class="cal-table-left" style="overflow-x: scroll;width: calc(100% - 120px);white-space: nowrap;">
<#if (profitAndLossList)?exists && (profitAndLossList?size>0)>
<#list profitAndLossList as list>
<tr class="cal-table-left">
@ -126,11 +127,13 @@
</#if>
</tbody>
</table>
</div>
</div>
</div>
<div class="am-tabs-bd">
<div class="am-tab-panel am-fade am-in" id="tab3">
<div class="am-scrollable-horizontal">
<table class="am-table table-main" cellpadding="0" cellspacing="0">
<thead class="cal-table-left" style="overflow-x: scroll;">
<tr class="cal-table-left">
@ -151,7 +154,8 @@
<th style="border-bottom: 1px solid; border-top: 1px solid;" class="cal-table-column">货币资金净增加额</th>
</tr>
</thead>
<tbody class="cal-table-left" style="overflow-x: scroll;width: calc(100% - 180px);white-space: nowrap;">
<tbody class="cal-table-left" style="overflow-x: scroll;width: calc(100% - 220px);white-space: nowrap;">
<#if (cashFlowList)?exists && (cashFlowList?size>0)>
<#list cashFlowList as list>
<tr class="cal-table-left">
@ -175,6 +179,7 @@
</#if>
</tbody>
</table>
</div>
</div>
</div>
</div>

View File

@ -114,7 +114,7 @@
</tr>
</thead>
<tbody class="cal-table-left" style="overflow-x: scroll;width: calc(100% - 180px);white-space: nowrap;">
<tbody class="cal-table-left" style="overflow-x: scroll;width: calc(100% - 120px);white-space: nowrap;">
<#if (pager)?exists>
<#list pager as list>
<tr class="cal-table-left">
@ -165,7 +165,7 @@
</tr>
</thead>
<tbody class="cal-table-left" style="overflow-x: scroll;width: calc(100% - 180px);white-space: nowrap;">
<tbody class="cal-table-left" style="overflow-x: scroll;width: calc(100% - 220px);white-space: nowrap;">
<#if (pager)?exists>
<#list pager as list>
<tr class="cal-table-left">