Commit 8aee15c0 authored by Iuri Matias's avatar Iuri Matias

move modal dialog custom styles to its own file

parent 8b5a53b1
var modal = require('./modaldialog.js')
var yo = require('yo-yo')
var csjs = require('csjs-inject')
var css = require('./styles/modal-dialog-custom-styles')
var css = csjs`
.prompt_text {
width: 300px;
}
`
module.exports = {
alert: function (text) {
modal('', yo`<div>${text}</div>`, null, { label: null })
......
var csjs = require('csjs-inject')
var css = csjs`
.prompt_text {
width: 300px;
}
`
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