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

Support for [fixed-center] moes

Vijayakrishnan преди 4 години
родител
ревизия
8aefd9ed7e
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      public/css/yemi.css

+ 6 - 0
public/css/yemi.css

@@ -14,6 +14,12 @@
     padding: 10px;
     border: 1px solid gray;
 }
+[moe][fixed-center] [url]:not([show]) {
+    position: fixed !important;
+    top: 50% !important;
+    left: 50% !important;
+    transform: translate(-50%, -50%) !important;
+}
 [moe] [url][right] {
     right: 0;
     min-width: 200px;