Просмотр исходного кода

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 лет назад
Родитель
Сommit
a27e666ae1
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/components/organisms/MainList/MainList.jsx

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

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