element el-table 滚动边框去除

el-table__header , .el-table__body,
.el-table__footer {
    width: 100% !important;
  },
 .el-table__header colgroup col[name='gutter'] {
    width: 0px !important;
  }

亲测有用 当列表数据多滚动时 出现滚动条,滚动条可以去掉但是 留下的滚动条的宽去除不掉,可以考虑使用这个  搞了好久 好多次都没弄,

下面这一段更改滚动条样式 ,搜刮过来的 ,有的不顶用有的可以

.fiberOpticCable .el-table--border th.gutter:last-of-type {
    display: none;
    border-color: transparent !important;
    background-color: transparent !important;
    width: 0px !important;
    height: 0px !important;
  }
  .fiberOpticCable .gutter {
    width: 0px !important;
    background-color: transparent !important;
    display: table-cell !important ;
  }
  .fiberOpticCable .el-table th .gutter {
    display: table-cell !important;
  }
  .fiberOpticCable .el-table__body-wrapper::-webkit-scrollbar {
    width: 0px !important;
    height: 0px !important;
    display: none !important;
  }
  //滚动条的滑块
  .fiberOpticCable .el-table__body-wrapper::-webkit-scrollbar-thumb {
    background-color: transparent !important;
    // border-radius: 15px;
  }
  .fiberOpticCable .anchorBL {
    display: none !important;
  }

出来 记录一下备用

  • 4
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值