浏览代码

Improve card layout on mobile devices

Marc Hartmayer 5 年之前
父节点
当前提交
d7e0350ecf
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/components/cards/cardDetails.styl

+ 1 - 0
client/components/cards/cardDetails.styl

@@ -94,6 +94,7 @@ avatar-radius = 50%
   animation: flexGrowIn 0.1s
   animation: flexGrowIn 0.1s
   box-shadow: 0 0 7px 0 darken(white, 30%)
   box-shadow: 0 0 7px 0 darken(white, 30%)
   transition: flex-basis 0.1s
   transition: flex-basis 0.1s
+  box-sizing: border-box
 
 
   .mCustomScrollBox
   .mCustomScrollBox
     padding-left: 0
     padding-left: 0