mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-06-15 13:36:35 +02:00
Global alert
This commit is contained in:
@ -41,7 +41,7 @@ export function Modal({ shown, setShown, children }) {
|
||||
return (
|
||||
<Portal containerId="modal-container">
|
||||
<div className={`modal fade ${shown ? "show" : ""}`} role="dialog">
|
||||
<div ref={dialogRef} className="modal-dialog" role="document">
|
||||
<div ref={dialogRef} className="modal-dialog modal-dialog-centered" role="document">
|
||||
<div className="modal-content">
|
||||
{children}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user