ant的a-table更改表格的高度

css 复制代码
<style lang="scss">
/* 表格状态筛选 popover 样式 */
.ant-popover.status-filter-popover .ant-popover-inner-content {
  padding: 0 !important;
}


  :deep(.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab) {
    background: #fff;
  }

  :deep(.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab-active) {
    background: #fff;
  }

  .template-table-work-package {
    // height: calc(100vh - 542px);
    height: calc(100vh - 200px);
    background: #fff;
    box-sizing: border-box;
  }

  .template-table-work-package.ant-table-wrapper .ant-table {
    // height: calc(100vh - 598px);
    height: calc(100vh - 200px);
    background: #fff;
    // background: red;
  }

  .ant-table,
  .ant-table-container,
  .ant-table-thead>tr>th,
  .ant-table-tbody>tr>td,
  .ant-table-cell {
    border-color: #B6C3CF !important;
  }

  .ant-empty-normal {
    // height: calc(100vh - 576px);
    height: calc(100vh - 269px);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-block: 0;
  }
.ant-table .ant-table-expanded-row-fixed{
  margin-bottom: 0;
  padding-bottom: 0;
}
  .ant-table-thead>tr>th::before {
    background-color: #B6C3CF !important;
  }

  .ant-table-wrapper .ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table {
    border-color: #B6C3CF !important;
  }

  .ant-table-wrapper .ant-table .ant-table-header {
    border-right: 1px solid #B6C3CF !important;
  }

  .ant-table-wrapper .ant-table-thead>tr>th {
    color: #1F1F1F;
  }

  .ant-table-wrapper .ant-table-tbody>tr>td {
    color: #1F1F1F;
  }

  .ant-table-wrapper .ant-table-pagination.ant-pagination {
    margin-right: 20px;
  }
 
</style>
相关推荐
子兮曰6 小时前
Bun v1.4.1 深度解析:从 Zig 到 Rust,一场 11 天、64 个 AI 代理的语言迁徙
前端·后端·bun
人民广场吃泡面7 小时前
什么是AI Agent?它又能给前端带来哪些效率提升?
前端·人工智能
中科三方7 小时前
两家域名注册商资质被ICANN终止:企业域名资产安全再受关注
前端·网络·安全·域名
bug总结7 小时前
uniapp vue3全局方法注册使用
前端·javascript·uni-app
华无丽言8 小时前
如何在宜搭中实现获取子表中的字段值赋值到父表中?
前端·javascript·低代码
IT_陈寒8 小时前
Vue的computed属性竟然坑了我一把
前端·人工智能·后端
威斯软科的老司机8 小时前
通俗讲解 CNN 图像识别、向量 Embedding、Softmax 概率计算这三块的简化原理
前端·人工智能·ui·数字孪生
2601_962382439 小时前
剑指大前端全栈工程师(全2册)主要情节
javascript·实战案例·全栈工程师·剑指大前端·html5+css3
泯泷9 小时前
手搓JSVM第 12 篇:完整最小 JSVM 实现与源码设计复盘
前端·javascript·前端框架
默_笙9 小时前
🍔 给 AI 发一张结构化表格(下):从"自由发挥"到"按格填空"的输出驯服指南
前端·javascript