From 268f4784b4dc24829ecea74913af301237b98fb4 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 27 Jul 2020 17:44:28 +0200 Subject: adjusting z-indexes --- animism-align/frontend/app/views/viewer/nav/eflux.css | 2 +- animism-align/frontend/app/views/viewer/player/player.container.js | 1 - animism-align/frontend/app/views/viewer/viewer.actions.js | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'animism-align/frontend/app/views/viewer') diff --git a/animism-align/frontend/app/views/viewer/nav/eflux.css b/animism-align/frontend/app/views/viewer/nav/eflux.css index 2dbd0be..93c9449 100644 --- a/animism-align/frontend/app/views/viewer/nav/eflux.css +++ b/animism-align/frontend/app/views/viewer/nav/eflux.css @@ -3,7 +3,7 @@ top: 0; left: 0; width: 100%; - z-index: 2; + z-index: 10; } .eflux-logo { position: absolute; diff --git a/animism-align/frontend/app/views/viewer/player/player.container.js b/animism-align/frontend/app/views/viewer/player/player.container.js index aefc025..340b6c6 100644 --- a/animism-align/frontend/app/views/viewer/player/player.container.js +++ b/animism-align/frontend/app/views/viewer/player/player.container.js @@ -13,7 +13,6 @@ class PlayerContainer extends Component { return (
- Document container
) diff --git a/animism-align/frontend/app/views/viewer/viewer.actions.js b/animism-align/frontend/app/views/viewer/viewer.actions.js index 73e34fd..f8bc116 100644 --- a/animism-align/frontend/app/views/viewer/viewer.actions.js +++ b/animism-align/frontend/app/views/viewer/viewer.actions.js @@ -1,6 +1,6 @@ import * as types from 'app/types' import { store, history, dispatch } from 'app/store' -import { MEDIA_TYPES, MEDIA_LABEL_TYPES } from 'app/constants' +import { MEDIA_ANNOTATION_TYPES, MEDIA_LABEL_TYPES } from 'app/constants' const newSection = (annotation, index, mediaIndex) => ({ start_ts: annotation.start_ts, @@ -29,7 +29,7 @@ export const loadSections = () => dispatch => { currentSection = newSection(annotation, sections.length, mediaIndex) sections.push(currentSection) } - if (MEDIA_TYPES.has(annotation.type)) { + if (MEDIA_ANNOTATION_TYPES.has(annotation.type)) { if (currentSection) { const media = mediaLookup[annotation.settings.media_id] currentSection.media.push({ -- cgit v1.2.3-70-g09d2