Commit ec97db96 authored by Iuri Matias's avatar Iuri Matias

move css styles of plugin-tab to its own file

parent 32a4f55b
var yo = require('yo-yo') var yo = require('yo-yo')
var css = require('./styles/plugin-tab-styles')
// -------------- styling ----------------------
var csjs = require('csjs-inject')
var css = csjs`
.pluginTabView {
height: 100%;
width: 100%;
}
.iframe {
height: 100%;
width: 100%;
border: 0;
}
`
module.exports = plugintab
function plugintab (container, appAPI, events, opts, url) { function plugintab (container, appAPI, events, opts, url) {
var el = yo` var el = yo`
...@@ -26,3 +9,5 @@ function plugintab (container, appAPI, events, opts, url) { ...@@ -26,3 +9,5 @@ function plugintab (container, appAPI, events, opts, url) {
container.appendChild(el) container.appendChild(el)
return el return el
} }
module.exports = plugintab
var csjs = require('csjs-inject')
var css = csjs`
.pluginTabView {
height: 100%;
width: 100%;
}
.iframe {
height: 100%;
width: 100%;
border: 0;
}
`
module.exports = css
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment