瀏覽代碼

Fix open card position by opening card to fullscreen.

Thanks to SmartPhoneLover, BabyFnord and xet7 !

Fixes #4882
Lauri Ojansivu 2 年之前
父節點
當前提交
030faf918e
共有 1 個文件被更改,包括 7 次插入4 次删除
  1. 7 4
      client/components/cards/cardDetails.css

+ 7 - 4
client/components/cards/cardDetails.css

@@ -246,13 +246,15 @@
 }
 @media screen and (min-width: 801px) {
   .card-details {
-    top: 0px;
-    left: 400px;
-    width: 47%;
-    position: absolute;
+    top: 97px;
+    left: 0;
+    right: 0;
+    bottom: 0;
+    position: fixed;
     resize: both;
   }
   .card-details-maximized {
+/*
     padding: 0;
     flex-shrink: 0;
     flex-basis: calc(100% - 20px);
@@ -272,6 +274,7 @@
     height: calc(100% - 20px);
     width: calc(100% - 20px);
     float: left;
+*/
   }
   .card-details-maximized .card-details-left {
     float: left;