瀏覽代碼

open card details always in the center of the screen

Martin Filser 1 年之前
父節點
當前提交
e69a9f17b8
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      client/components/cards/cardDetails.css

+ 8 - 0
client/components/cards/cardDetails.css

@@ -248,6 +248,14 @@
   padding-top: 10px;
 }
 @media screen and (min-width: 801px) {
+  .card-details {
+    top: 97px;
+    left: calc(50% - (600px / 2));
+    width: 600px;
+    bottom: 0;
+    position: fixed;
+    resize: both;
+  }
   .card-details-maximized {
     top: 97px;
     left: 0;