chore(wiki): the button class is now optional for input elements

This commit is contained in:
2024-02-22 22:34:11 +01:00
parent 1d5cdf9607
commit e361c3f975
4 changed files with 28 additions and 23 deletions

View File

@ -262,12 +262,13 @@ class TfWikiDocElement extends LitElement {
<div ?hidden=${!this.value?.private} style="color: #800">🔒 document is private</div>
<div class="flex-column" ${this.value?.private ? 'border-top: 4px solid #800' : ''}">
<textarea
rows="25"
?hidden=${!this.is_editing}
id="editor-text-area"
@input=${this.on_edit}
@paste=${this.paste}
.value=${this.blob ?? ''}></textarea>
<div style="flex: 1 1">
<div style="flex: 1 1; margin-top: 16px">
<div ?hidden=${!this.is_editing} class="box">
Summary
<img ?hidden=${!thumbnail_ref} style="max-width: 128px; max-height: 128px; float: right" src="/${thumbnail_ref}/view">