Skip to content

Commit

Permalink
letting tooltips in the dashboard overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BradBaker committed Dec 14, 2015
1 parent c6d007c commit 65be15c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions panoramix/static/panoramix.css
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,18 @@ legend {
width: 100%;
height: 20px;
}
.dashboard li.widget.line,
.dashboard li.widget.bar,
.dashboard li.widget.compare,
.dashboard li.widget.area,
.dashboard li.widget.pie,
.dashboard li.widget.dist_bar,
.dashboard li.widget.sunburst {
overflow: visible; /* This allows elements within these slice typesin a dashboard to overflow */
}
.dashboard div.nvtooltip {
z-index: 1; /* this lets tool tips go on top of other slices */
}
.dashboard td.icons {
width: 50px;
}
Expand Down
2 changes: 1 addition & 1 deletion panoramix/templates/panoramix/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h2>
<li
id="slice_{{ slice.id }}"
slice_id="{{ slice.id }}"
class="widget"
class="widget {{ slice.viz.viz_type }}"
data-widget="{{ slice.viz.get_data_attribute() }}"
data-row="{{ pos.row or 1 }}"
data-col="{{ pos.col or loop.index }}"
Expand Down
2 changes: 1 addition & 1 deletion panoramix/templates/panoramix/explore.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
{% endblock %}
{% include 'appbuilder/flash.html' %}
<div
class="viz widget"
class="viz widget {{ viz.viz_type }}"
data-widget="{{ viz.get_data_attribute() }}"
style="height: 700px;">
{% block viz_html %}
Expand Down

0 comments on commit 65be15c

Please sign in to comment.