Browse Source

Merge pull request #4447 from grafana/grafana-worldping-tweaks

Updated card views to accommodate a 2 column layout at lg breakpoints
Matt Toback 9 years ago
parent
commit
04a887dafa
1 changed files with 12 additions and 0 deletions
  1. 12 0
      public/sass/components/_cards.scss

+ 12 - 0
public/sass/components/_cards.scss

@@ -99,6 +99,10 @@
 
 .card-list-layout-grid {
 
+  .card-item-header-action {
+    float: right;
+  }
+
   .card-item-wrapper {
     width: 100%;
     padding: 0 1.5rem 1.5rem 0rem;
@@ -128,6 +132,14 @@
       width: 33.333333%;
     }
   }
+
+  &.card-list-layout-grid--max-2-col {
+    @include media-breakpoint-up(lg) {
+      .card-item-wrapper {
+        width: 50%;
+      }
+    }    
+  }
 }
 
 .card-list-layout-list {