Browse Source

Add Padding Below Title of ChannelPreview

Francesco Baccetti 4 years ago
parent
commit
b3a0861ebd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/shared/components/ChannelPreview/ChannelPreviewBase.style.tsx

+ 2 - 2
src/shared/components/ChannelPreview/ChannelPreviewBase.style.tsx

@@ -6,7 +6,8 @@ const imageTopOverflow = '2rem'
 const containerPadding = '22px'
 
 export const OuterContainer = styled.article`
-  min-height: ${`calc(166px + ${imageTopOverflow})`};
+  display: flex;
+  min-height: calc(178px + ${imageTopOverflow});
   padding-top: ${imageTopOverflow};
   :hover {
     cursor: ${(props) => (props.onClick ? 'pointer' : 'default')};
@@ -34,7 +35,6 @@ export const InnerContainer = styled.div<InnerContainerProps>`
 
   width: calc(156px + calc(2 * ${containerPadding}));
   padding: 0 ${containerPadding};
-  height: 100%;
 
   display: flex;
   flex-direction: column;