Browse Source

Fix open card position by opening card to fullscreen.

Thanks to SmartPhoneLover, BabyFnord and xet7 !

Fixes #4882
Lauri Ojansivu 2 years ago
parent
commit
030faf918e
1 changed files with 7 additions and 4 deletions
  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;