mirror of https://github.com/apache/superset.git
fix scrolling on markup vis (#2644)
This commit is contained in:
parent
84fa0d1940
commit
af4bd40853
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue