S2 icon indicating copy to clipboard operation
S2 copied to clipboard

🐛修改 themeCfg 主题配置 S2 表头对齐UI问题

Open wukai7777777 opened this issue 2 years ago • 1 comments

🏷 Version

Package Version
@antv/s2
@antv/s2-react 1.18.0
@antv/s2-vue

Sheet Type

  • [ ] PivotSheet
  • [x] TableSheet
  • [ ] GridAnalysisSheet
  • [ ] StrategySheet

🖋 Description

⌨️ Code Snapshots

const theme = { theme: { colCell: { cell: { backgroundColor: "#fff", verticalBorderColor: "#d3d3d3", verticalBorderWidth: 1, horizontalBorderWidth: 3, horizontalBorderColor: "#1d2328", }, }, }, };

    <SheetComponent themeCfg={theme} />
    
image image

🔗 Reproduce Link

🤔 Steps to Reproduce

😊 Expected Behavior

😅 Current Behavior

💻 System information

wukai7777777 avatar Aug 03 '22 08:08 wukai7777777

你好 @wukai7777777,很抱歉给你带来了不好的体验, 我们会尽快排查问题并修复, 请关注后续发布日志.

Hello, @wukai7777777, We are so sorry for the bad experience. We will troubleshoot and fix the problem as soon as possible. Please pay attention to the follow-up change logs.

github-actions[bot] avatar Aug 05 '22 09:08 github-actions[bot]

这个边框没对齐是底层设计问题, 在目前开发的 2.0 新版本中已经解决了, 改动较大, 目前的 1.x 版本只能暂时保持现状了 https://github.com/antvis/S2/issues/2153

lijinke666 avatar May 17 '23 06:05 lijinke666

这个问题我们也有,能不能先出一个临时方案解决,或者通过调用哪些方法能够手动对齐下。

poemshi avatar Aug 30 '23 09:08 poemshi

ref: https://github.com/antvis/S2/pull/1854, 可试用 2.0 版本

wjgogogo avatar Dec 07 '23 06:12 wjgogogo