Prechádzať zdrojové kódy

Add `min-width` property to main list

Adds a horizontal scroll after a certain minimum width is exceeded, but
the list is visible in full.
Sergiu Miclea 7 rokov pred
rodič
commit
a27e666ae1

+ 1 - 0
src/components/organisms/MainList/MainList.jsx

@@ -30,6 +30,7 @@ const Wrapper = styled.div`
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   flex-grow: 1;
   flex-grow: 1;
+  min-width: 785px;
 `
 `
 const Separator = styled.div`
 const Separator = styled.div`
   height: 1px;
   height: 1px;