Browse Source

fix info overlay on small layouts

one row is not enough space; use flex column instead
trwnh 6 năm trước cách đây
mục cha
commit
29e67be45c
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  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 {