fix: 🐛 Fix ghost shadow on thumb (#1113)

* fix: 🐛 Fix ghost shadow on thumb

Updated react-dnd package for the lates. Refactored thumbnail component

Closes: 1087

* feat: 🎸 Code review

Set flex instead of float. Add cypress tag to thumb container

* feat: 🎸 Code review. Revised style when no description
This commit is contained in:
ladeirarodolfo authored and Danny Brown committed 2019-10-30 15:53:58 -04:00
1 parent 22127a8f59
commit caaa032c4b
16 files changed
+295 -400

No files matched your search

@@ -8,7 +8,7 @@ describe('ViewerRouting', () => {
});
// it('thumbnails list has more than 2 items', () => {
// cy.get('.scrollable-study-thumbnails div.ThumbnailEntryContainer')
// cy.get('.scrollable-study-thumbnails div.thumbnail-container')
// .its('length')
// .should('be.gte', 2);
// });
@@ -107,7 +107,7 @@ const ViewportGrid = function(props) {
ViewportGrid.propTypes = {
viewportData: PropTypes.array.isRequired,
supportsDragAndDrop: PropTypes.bool.isRequired,
supportsDrop: PropTypes.bool.isRequired,
activeViewportIndex: PropTypes.number.isRequired,
layout: PropTypes.object.isRequired,
availablePlugins: PropTypes.object.isRequired,
@@ -127,7 +127,7 @@ ViewportGrid.defaultProps = {
viewports: [{}],
},
activeViewportIndex: 0,
supportsDragAndDrop: true,
supportsDrop: true,
availablePlugins: {
DefaultViewport,
},