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

Feature Request(dual-channel) 希望增加 topOffset 參數 #139

Open
fzhantw opened this issue Oct 31, 2022 · 0 comments
Open

Feature Request(dual-channel) 希望增加 topOffset 參數 #139

fzhantw opened this issue Oct 31, 2022 · 0 comments

Comments

@fzhantw
Copy link

fzhantw commented Oct 31, 2022

由於各網站的 fixed navbar 高度不同,若直接嵌入元件會造成版面衝突
希望能增加一個參數來指定 sidebar 的 top 屬性

此新聞為例,我需要讓上面的留白增加 70px

做了以下修改
packages/dual-channel/src/app/components/embedded-items/index.js: 84:84
修改為

return `position: fixed; top: 70px;`

希望能新增此功能

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

No branches or pull requests

1 participant