fix scrolling on markup vis (#2644)

This commit is contained in:
Alanna Scott 2017-04-20 12:39:24 -07:00 committed by GitHub
parent 84fa0d1940
commit af4bd40853
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,5 @@
.markup.slice_container {
padding: 10px;
overflow: auto;
}
.separator {
background-color: transparent !important;

View File

@ -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);
}