Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 fix: 修复表格和 Notion 显示不一致的问题 #2203

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RylanBot
Copy link
Contributor

@RylanBot RylanBot commented Mar 20, 2024

notion 的原始表格

未修复前的网页表格

  • 第一行总是被默认设置为表头且文字居中加粗

修复后

Warning

缺点:手动开启 header 不生效,要主动给指定行/列设置(灰色)背景颜色
(但感觉是最优解了.... 没找到 notion 有相关 api 可以判断是否有开启表头)

涉及 issue

hooks/useAdjustStyle.js Fixed Show fixed Hide fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant