From 5be7b03ba4fb5094f64f9cc5aff0100abeee673a Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Sat, 26 Mar 2016 21:10:41 -0700 Subject: [PATCH] [hotfix] Fix tooltip overflow to be visible outside widget --- dashed/assets/stylesheets/dashed.css | 38 ----------------- dashed/templates/dashed/dashboard.html | 59 +++++++++++++------------- 2 files changed, 30 insertions(+), 67 deletions(-) diff --git a/dashed/assets/stylesheets/dashed.css b/dashed/assets/stylesheets/dashed.css index acd5a847d9..0e6d793ec7 100644 --- a/dashed/assets/stylesheets/dashed.css +++ b/dashed/assets/stylesheets/dashed.css @@ -155,42 +155,6 @@ legend { .panel.panel-primary { margin: 10px; } - -.index .carousel img { - max-height: 500px; -} -.index .carousel { - overflow: hidden; - height: 500px; -} -.index .carousel-caption h1 { - font-size: 80px; -} -.index .carousel-caption p { - font-size: 20px; -} -.index div.carousel-caption{ - background: rgba(0,0,0,0.5); - border-radius: 20px; - top: 150px; - bottom: auto !important; -} -.index .carousel-inner > .item > img { - margin: 0 auto; -} -.index { - margin: -20px; -} -.index .carousel-indicators li { - background-color: #AAA; - border: 1px solid black; -} - -.index .carousel-indicators .active { - background-color: #000; - border: 5px solid black; -} - .datasource form div.form-control { margin-bottom: 5px !important; } @@ -203,7 +167,6 @@ legend { img.loading { width: 40px; } - .dashboard a i { cursor: pointer; } @@ -223,7 +186,6 @@ img.loading { margin: 5px; border: 1px solid #ccc; box-shadow: 2px 1px 5px -2px #aaa; - overflow: hidden; background-color: #fff; } .dashboard .gridster .dragging, diff --git a/dashed/templates/dashed/dashboard.html b/dashed/templates/dashed/dashboard.html index 73b1b4d331..a4ff39b42a 100644 --- a/dashed/templates/dashed/dashboard.html +++ b/dashed/templates/dashed/dashboard.html @@ -82,39 +82,40 @@ data-col="{{ pos.col or loop.index }}" data-sizex="{{ pos.size_x or 4 }}" data-sizey="{{ pos.size_y or 4 }}"> - -
- -
- {{ slice.slice_name }} -
-
-
- - - - - - + +
+
+
+ {{ slice.slice_name }}
-
- {% if slice.description %} - - +
+
+ + - {% endif %} - - - - - - - - - + + + +
+
+ {% if slice.description %} + + + + {% endif %} + + + + + + + + + +
-
+