Skip to content

Commit

Permalink
move inline styles to class
Browse files Browse the repository at this point in the history
  • Loading branch information
briehl committed Oct 23, 2020
1 parent 3f860d0 commit 318407c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 6 additions & 0 deletions kbase-extension/static/kbase/css/kbaseNarrative.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@
cursor: pointer;
}

.kb-data-staging-container {
height: 604px;
padding: 5px;
overflow-y: auto;
}

.kb-data-staging-footer {
font-family: Oxygen, Arial, sans-serif;
font-weight: bold;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,7 @@ define([
return this.getUserInfo()
.then(userInfo => {
const $mainElem = $('<div>')
.css({
'height': '604px',
'padding': '5px',
'overflow-y': 'auto'
});
.addClass('kb-data-staging-container');
const $dropzoneElem = $('<div>');
this.$elem
.empty()
Expand Down

0 comments on commit 318407c

Please sign in to comment.