orangutan-monorepo
orangutan-monorepo copied to clipboard
Feature Request(dual-channel) 希望增加 topOffset 參數
由於各網站的 fixed navbar 高度不同,若直接嵌入元件會造成版面衝突 希望能增加一個參數來指定 sidebar 的 top 屬性
以此新聞為例,我需要讓上面的留白增加 70px
做了以下修改 packages/dual-channel/src/app/components/embedded-items/index.js: 84:84 修改為
return `position: fixed; top: 70px;`
希望能新增此功能