调整长度

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

View File

@ -114,7 +114,7 @@
</tr> </tr>
</thead> </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> <#if (pager)?exists>
<#list pager as list> <#list pager as list>
<tr class="cal-table-left"> <tr class="cal-table-left">
@ -165,7 +165,7 @@
</tr> </tr>
</thead> </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> <#if (pager)?exists>
<#list pager as list> <#list pager as list>
<tr class="cal-table-left"> <tr class="cal-table-left">