mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix scrolling on markup vis (#2644)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
.markup.slice_container {
|
||||
padding: 10px;
|
||||
overflow: auto;
|
||||
}
|
||||
.separator {
|
||||
background-color: transparent !important;
|
||||
|
||||
@@ -4,6 +4,10 @@ require('./markup.css');
|
||||
|
||||
function markupWidget(slice, payload) {
|
||||
$('#code').attr('rows', '15');
|
||||
slice.container.css({
|
||||
overflow: 'auto',
|
||||
height: slice.container.height(),
|
||||
});
|
||||
slice.container.html(payload.data.html);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user