1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-11-13 17:25:34 +01:00

Fix trailing space in Modal classes

This commit is contained in:
Aleksandr Gumroian 2021-01-18 23:10:05 +01:00
parent af0fb80e45
commit abb5be53aa
No known key found for this signature in database
GPG Key ID: 9E77849C64F0A733

View File

@ -69,7 +69,7 @@ export function Modal({ shown, setShown, scrollable, size, children }) {
>
<div
ref={dialogRef}
className={`modal-dialog ${modalSize} modal-dialog-centered ${
className={`${modalSize.trim()} modal-dialog modal-dialog-centered ${
scrollable ? "modal-dialog-scrollable" : ""
}`.trim()}
role="document"