Ver código fonte

fix storybook build issue (#728)

Bartosz Dryl 3 anos atrás
pai
commit
785538d46b
1 arquivos alterados com 4 adições e 3 exclusões
  1. 4 3
      src/components/VideoGallery.tsx

+ 4 - 3
src/components/VideoGallery.tsx

@@ -2,7 +2,8 @@ import React, { useState, useMemo, useCallback } from 'react'
 import { css } from '@emotion/react'
 import styled from '@emotion/styled'
 
-import { Gallery, MIN_VIDEO_PREVIEW_WIDTH, CAROUSEL_ARROW_HEIGHT } from '@/shared/components'
+import { Gallery, CAROUSEL_ARROW_HEIGHT, MIN_VIDEO_PREVIEW_WIDTH } from '@/shared/components'
+
 import { breakpointsOfGrid } from '@/shared/components/Grid'
 import VideoPreview from './VideoPreview'
 import { sizes } from '@/shared/theme'
@@ -107,8 +108,8 @@ const StyledVideoPreview = styled(VideoPreview)`
   & + & {
     margin-left: ${sizes(6)};
   }
-
-  min-width: ${MIN_VIDEO_PREVIEW_WIDTH};
+  /* MIN_VIDEO_PREVIEW_WIDTH */
+  min-width: 300px;
 `
 
 export default VideoGallery