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