From 24661f00461f0ea56c290770c698f8671e66bb37 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 13 Aug 2020 18:35:58 +0200 Subject: scrolling viewer sections --- .../app/views/viewer/sections/viewer.sections.js | 44 +++++++++++----------- 1 file changed, 23 insertions(+), 21 deletions(-) (limited to 'animism-align/frontend/app/views/viewer/sections/viewer.sections.js') diff --git a/animism-align/frontend/app/views/viewer/sections/viewer.sections.js b/animism-align/frontend/app/views/viewer/sections/viewer.sections.js index f4abbd6..4bb61ec 100644 --- a/animism-align/frontend/app/views/viewer/sections/viewer.sections.js +++ b/animism-align/frontend/app/views/viewer/sections/viewer.sections.js @@ -12,29 +12,31 @@ class ViewerSections extends Component { const { sections } = this.props return (
- {sections.map(section => { - // console.log(section) - return ( -
actions.viewer.seekToSection(section)} - > -
-
-
- {ROMAN_NUMERALS[section.index]}
- {section.title} -
-
- {section.mediaLabels} +
+ {sections.map(section => { + // console.log(section) + return ( +
actions.viewer.seekToSection(section)} + > +
+
+
+ {ROMAN_NUMERALS[section.index]}
+ {section.title} +
+
+ {section.mediaLabels} +
-
- ) - })} + ) + })} +
) -- cgit v1.2.3-70-g09d2