Skip to content

Commit

Permalink
[Fixes #368][Backport 3.3.x] Include geo carousel section in geostori…
Browse files Browse the repository at this point in the history
…es (#371)
  • Loading branch information
allyoucanmap authored Jul 23, 2021
1 parent 5b5814c commit ca90300
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion geonode_mapstore_client/client/MapStore2
Submodule MapStore2 updated 105 files
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import React, { useRef } from 'react';
import { Button } from 'react-bootstrap-v1';
import FaIcon from '@js/components/home/FaIcon';
import { useSwipeControls } from '@mapstore/framework/components/geostory/navigation/ScrollMenu';
import useSwipeControls from '@mapstore/framework/components/geostory/common/hooks/useSwipeControls';
import { withResizeDetector } from 'react-resize-detector';

const SwipeMenu = withResizeDetector(({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@ describe('gnsave reducer', () => {
it('should test savingResource', () => {
const state = gnsave({}, savingResource());
expect(state).toEqual({
saving: true
saving: true,
error: undefined,
success: undefined
});
});
it('should test savingResource', () => {
it('should test saveDirectContent', () => {
const state = gnsave({}, saveDirectContent());
expect(state).toEqual({
saving: true
saving: true,
error: undefined,
success: undefined
});
});
it('should test saveSuccess', () => {
Expand Down
6 changes: 6 additions & 0 deletions geonode_mapstore_client/client/themes/default/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@
top: 0;
left: 0;
}

// missing background color on message of geostory carousel
.ms-carousel-marker-info {
background-color: @ms-story-bg;
color: @ms-story-text;
}

0 comments on commit ca90300

Please sign in to comment.