ui: 修繕圖片顯示, 不再為下方文字説明占位 (aka inline -> block)
This commit is contained in:
@@ -9,6 +9,7 @@ customElements.define('chat-image', class extends HTMLElement {
|
||||
super()
|
||||
}
|
||||
connectedCallback() {
|
||||
this.style.display = 'block'
|
||||
const e = new Image()
|
||||
e.style.maxWidth = "100%"
|
||||
e.style.maxHeight = "90%"
|
||||
|
||||
Reference in New Issue
Block a user