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>
相关推荐
对空六课13 小时前
支持注意力分析的热力图工具有哪些?
前端·数据库·数据分析
Csvn15 小时前
Vue3 响应式与编译:依赖收集如何升级为节点级靶向更新
前端
星栈16 小时前
pnpm 12 升级实测
前端·javascript
Sirens.16 小时前
Java并发锁详解:六类锁策略与 synchronized 底层原理
java·前端·算法
Ai-_Man16 小时前
您您这可以把Microsofat Copilot的多个会话比如说。左侧的多个会话一次性导出吗?不是单条会话里面的多次会对话。AI导出鸭
javascript·人工智能·ai·小程序·电脑·copilot
特创数字科技17 小时前
一个纯本地运行的图片处理工具:压缩 / 裁剪 / 九宫格 / 圆角 / 滤镜 / 拼图 / 水印,终生使用
前端
IT_陈寒18 小时前
Vue的v-if和v-for混用居然是个天坑
前端·人工智能·后端
天衍四九-18 小时前
【无标题】
前端·spring boot·mysql·nginx·docker
广州华水科技18 小时前
2026年单北斗GNSS变形监测系统推荐榜单,解锁GNSS位移监测新高度
前端
xcyxiner18 小时前
DicomViewer24 修复编译bug(window test 失败)
前端·qt