Skip to content
Snippets Groups Projects
Commit 977b6fde authored by Jessie Keck's avatar Jessie Keck
Browse files

Update thumbnailNavigation settings to be an object that can have various config values.

parent 743afe34
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,7 @@ export class OpenSeadragonViewer extends Component {
id={`${window.id}-osd`}
ref={this.ref}
style={{
height: `calc(100% - ${config.thumbnailNavigationHeight}px)`,
height: `calc(100% - ${config.thumbnailNavigation.height}px)`,
}}
>
{ children }
......
......@@ -48,7 +48,7 @@ export class ThumbnailNavigation extends Component {
<div
className={ns('thumb-navigation')}
style={{
height: `${config.thumbnailNavigationHeight}px`,
height: `${config.thumbnailNavigation.height}px`,
}}
>
<ul>
......
export default {
windows: [],
thumbnailNavigationHeight: 150,
thumbnailNavigation: {
height: 150,
},
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment