We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d2e800c + 20db610 commit 1489a79Copy full SHA for 1489a79
1 file changed
layouts/Breaking/index.jsx
@@ -206,7 +206,14 @@ export default class BreakingLayout extends React.Component {
206
just put the position to fixed when the top of the div (from getBoundingClientRect)
207
208
*/}
209
- <div id="one" style={{position: "sticky", top: "70px"}}>
+ <div id="one" style={{
210
+ position: "sticky",
211
+ top: "70px",
212
+ maxHeight: "calc(100vh - 70px)",
213
+ overflowY: "scroll",
214
+ scrollbarWidth: "none",
215
+ msOverflowStyle: "none"
216
+ }}>
217
{this.props.eventSummary && utilities.buildArticleCard(this.props.eventSummary, "breakingOverview")}
218
</div>
219
0 commit comments