modal: tweak simple message formatting
package: missing dep
This commit is contained in:
parent
0312959145
commit
c645de3a45
6 changed files with 13 additions and 3 deletions
|
|
@ -17,6 +17,7 @@ module.exports = function UiFilebrowser(options, callback) {
|
|||
var popup = new UiModal({
|
||||
height: 360,
|
||||
closable: true,
|
||||
html: true,
|
||||
title: locales(save ? 'remotesave_save' : 'remotesave_open'),
|
||||
hide: true
|
||||
})
|
||||
|
|
|
|||
|
|
@ -264,7 +264,7 @@ class UiInspector extends UiWidget {
|
|||
computedValue = JSON.stringify(computedValue, null, ' ')
|
||||
}
|
||||
|
||||
new UiModal({closable: true, title: html`<span class="editor-help-title">${name}</span>`, content: html`
|
||||
new UiModal({closable: true, title: html`<span class="editor-help-title">${name}</span>`, html: true, content: html`
|
||||
<div class="inspector-help">
|
||||
|
||||
<p>Type: <code>${defaultValue.type}</code></p>
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class UiModal extends UiWidget {
|
|||
</span>
|
||||
${options.closable? html`<span class="closer">${raw(icon('times'))}</span>` : ''}
|
||||
</div>
|
||||
<div class="popup-content">
|
||||
<div class="popup-content ${options.html ? 'html' : 'message'}">
|
||||
${options.content}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue