Commit d764dba
authored
fix: Add wrapping div for scrollytelling map and chapters (#1437)
**Related Ticket:** Fix #1418
### Description of Changes
Since the legacy instance was using a lazyload-wrapper this wasn't
necessary*, but for instances not using this approach, the additional
wrapping div is actually required to build the layout as intended. It
doesn't hurt the legacy either.
\* The LazyLoad component from 'react-lazyload' creates a wrapping div
with `class="lazyload-wrapper "`
### Validation / Testing
Go to a story, make sure you can scroll down all the way to see text
content below the scrollymap, as well as map comparison blocks.
Corresponding deploy preview from next-veda-ui:
https://deploy-preview-43--veda-ui-next-test.netlify.app/stories/air-quality-and-covid-19File tree
1 file changed
+2
-2
lines changed- app/scripts/components/common/blocks/scrollytelling
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
| 473 | + | |
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
| |||
0 commit comments