소스 검색

Add Features: limit the board list to 2 or 1 for mobile clients

Sam X. Chen 6 년 전
부모
커밋
41cffc2418
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      client/components/boards/boardsList.styl

+ 3 - 2
client/components/boards/boardsList.styl

@@ -183,10 +183,11 @@ $spaceBetweenTiles = 16px
     overflow: scroll
 
     li
-      width: 33.3%
+      width: 50% 
 
     .board-list-item
       overflow: hidden
+      height: 8rem
 
     .board-list-item-sub-name
       position: relative
@@ -195,4 +196,4 @@ $spaceBetweenTiles = 16px
 
 @media screen and (max-width: 360px)
     li
-      width: 50%
+      width: 100%