Преглед на файлове

open card details always in the center of the screen

Martin Filser преди 2 години
родител
ревизия
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;