瀏覽代碼

fix info overlay on small layouts

one row is not enough space; use flex column instead
trwnh 6 年之前
父節點
當前提交
29e67be45c
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      resources/assets/sass/custom.scss

+ 8 - 0
resources/assets/sass/custom.scss

@@ -124,6 +124,14 @@ body, button, input, textarea {
 
 .info-overlay:hover .info-overlay-text {
     display: flex;
+    h5 {
+        display: flex;
+        flex-flow: column;
+        justify-content: center;
+        align-items: center;
+        width: 100%;
+        height: 100%;
+    }
 }
 
 .info-overlay-text {