Closed mrh1997 closed 9 months ago
According to the docs one can create Dialogs-like-looking-Elements without the Popup-semantics by omitting the <dialog> tag and only use <article>:
<dialog>
<article>
<article> ... <footer> <button className="secondary">Cancel</button> <button>OK</button> </footer> </article>
Unfortunaltely the Buttons are rendered to the left side in this case. When embracing the article by a dialog the buttons are rendered to the right.
I think the problem is this line as it is part of a selector dialog > article > footer instead of simply article > footer.
dialog > article > footer
article > footer
Maybe the whole footer section should be moved out of the dialog selector?!?
According to the docs one can create Dialogs-like-looking-Elements without the Popup-semantics by omitting the
<dialog>
tag and only use<article>
:Unfortunaltely the Buttons are rendered to the left side in this case. When embracing the article by a dialog the buttons are rendered to the right.
I think the problem is this line as it is part of a selector
dialog > article > footer
instead of simplyarticle > footer
.Maybe the whole footer section should be moved out of the dialog selector?!?