feat: shows monitor poster on modal

This commit is contained in:
Brock H Caldwell
2025-11-06 15:16:59 -06:00
parent ec0d2a198c
commit f253b33910
5 changed files with 14 additions and 2 deletions

View File

@@ -28,6 +28,9 @@ export default class PreviewContentDialog extends HTMLDialogElement {
}
display({ heading, content }) {
if (this.hasAttribute('mdWidth')) {
this.style.width = this.getAttribute('mdWidth');
}
this.setHeading(heading);
this.setContent(content);
this.showModal();