mirror of
https://github.com/apache/superset.git
synced 2024-09-17 19:19:38 -04:00
fixing a few bugs with tool tip overflow
This commit is contained in:
parent
cf0734b8cd
commit
e0f8f2cdca
@ -57,7 +57,7 @@ legend.legend-style {
|
|||||||
}
|
}
|
||||||
.nvtooltip {
|
.nvtooltip {
|
||||||
position: relative; !important
|
position: relative; !important
|
||||||
z-index: 10;
|
z-index: 888;
|
||||||
}
|
}
|
||||||
|
|
||||||
legend {
|
legend {
|
||||||
@ -185,7 +185,7 @@ legend {
|
|||||||
overflow: visible; /* This allows elements within these slice typesin a dashboard to overflow */
|
overflow: visible; /* This allows elements within these slice typesin a dashboard to overflow */
|
||||||
}
|
}
|
||||||
.dashboard div.nvtooltip {
|
.dashboard div.nvtooltip {
|
||||||
z-index: 1; /* this lets tool tips go on top of other slices */
|
z-index: 888; /* this lets tool tips go on top of other slices */
|
||||||
}
|
}
|
||||||
.dashboard td.icons {
|
.dashboard td.icons {
|
||||||
width: 50px;
|
width: 50px;
|
||||||
|
@ -217,6 +217,13 @@ function initializeDashboardView(dashboard_id) {
|
|||||||
css = $(this).val();
|
css = $(this).val();
|
||||||
$("#user_style").html(css);
|
$("#user_style").html(css);
|
||||||
});
|
});
|
||||||
|
$('li.widget').each(function() { /* this sets the z-index for left side boxes higher. */
|
||||||
|
current_row = $(this).attr('data-col');
|
||||||
|
$( this ).css('z-index', 100 - current_row);
|
||||||
|
});
|
||||||
|
$("div.chart").each(function() { /* this makes the whole chart fit within the dashboard div */
|
||||||
|
$(this).css('height', '95%');
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Export public functions
|
// Export public functions
|
||||||
|
Loading…
Reference in New Issue
Block a user