Browse Source

Support for [fixed-center] moes

Vijayakrishnan 4 năm trước cách đây
mục cha
commit
8aefd9ed7e
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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;