From ce80f0fe7fa60fe5666057ed88c5ca69634df083 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 28 Sep 2020 17:02:03 +0200 Subject: share dialog --- animism-align/frontend/app/views/viewer/sections/sections.css | 6 ++++++ .../frontend/app/views/viewer/sections/viewer.sections.nav.js | 9 +++------ 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'animism-align/frontend/app/views/viewer/sections') diff --git a/animism-align/frontend/app/views/viewer/sections/sections.css b/animism-align/frontend/app/views/viewer/sections/sections.css index a60a063..4858d7a 100644 --- a/animism-align/frontend/app/views/viewer/sections/sections.css +++ b/animism-align/frontend/app/views/viewer/sections/sections.css @@ -19,6 +19,9 @@ transform: translateZ(0) translateY(calc(3rem - 100vh)); z-index: 20; } +.sections-nav { + z-index: 22; +} /* scrolling part */ @@ -29,6 +32,9 @@ overflow-x: scroll; overflow-y: hidden; } +.checklist-open .viewer-sections .viewer-sections-scroll { + overflow-x: hidden; +} .viewer-sections-scroll::-webkit-scrollbar { cursor: pointer; user-select: none; diff --git a/animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js b/animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js index 19eb385..5a2971b 100644 --- a/animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js +++ b/animism-align/frontend/app/views/viewer/sections/viewer.sections.nav.js @@ -12,8 +12,8 @@ class ViewerSectionsNav extends Component {
- - + actions.viewer.toggleComponent('share')}> + {'Share'}
@@ -24,10 +24,7 @@ class ViewerSectionsNav extends Component {
- { - actions.viewer.hideComponent('checklist') - actions.viewer.toggleComponent('transcript') - }}> + actions.viewer.openTranscript()}> {'Transcript'}
-- cgit v1.2.3-70-g09d2