Răsfoiți Sursa

Add needed classes to status view

Stasiek Michalski 7 ani în urmă
părinte
comite
78fe6758c9
1 a modificat fișierele cu 22 adăugiri și 4 ștergeri
  1. 22 4
      resources/assets/sass/custom.scss

+ 22 - 4
resources/assets/sass/custom.scss

@@ -59,9 +59,12 @@ body, button, input, textarea {
   margin: auto !important;
 }
 
-.card.status-container .status-comments {
-  overflow-y: scroll;
-  border-bottom:1px solid rgba(0, 0, 0, 0.1);
+@media (min-width: map-get($grid-breakpoints, "md")) {
+  .card.status-container .status-comments {
+    overflow-y:scroll;
+    border-bottom:1px solid rgba(0,0,0,.1);
+    height: 200px;
+  }
 }
 
 .no-caret.dropdown-toggle {
@@ -165,4 +168,19 @@ body, button, input, textarea {
 }
 
 .fas.fa-heart {
-}
+}
+
+@media (max-width: map-get($grid-breakpoints, "md")) {
+  .border-md-left-0 {
+    border-left:0!important
+  }
+  .card.status-container .status-comments {
+    border-top:1px solid rgba(0,0,0,.1);
+  }
+  .sticky-md-bottom {
+    position:-webkit-sticky;
+    position:sticky;
+    bottom:0;
+    z-index:1020
+  }
+}