Sfoglia il codice sorgente

open card details always in the center of the screen

Martin Filser 2 anni fa
parent
commit
e69a9f17b8
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  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;