Prechádzať zdrojové kódy

fix info overlay on small layouts

one row is not enough space; use flex column instead
trwnh 6 rokov pred
rodič
commit
29e67be45c
1 zmenil súbory, kde vykonal 8 pridanie a 0 odobranie
  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 {