mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 23:30:10 +00:00
remove flex from modal
This commit is contained in:
parent
e32be0313c
commit
6df71c40c9
@ -62,7 +62,7 @@ const Modal: FunctionComponent<ComponentProps> = (
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
<div className="sm:p-6 flex">
|
||||
<div className="sm:p-6">
|
||||
{props.icon && (
|
||||
<div
|
||||
className={`mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full ${iconBgColor} sm:mx-0 sm:h-10 sm:w-10`}
|
||||
@ -84,7 +84,9 @@ const Modal: FunctionComponent<ComponentProps> = (
|
||||
)}
|
||||
<div className="mt-3 text-center sm:mt-0 sm:ml-4 sm:mr-4 sm:text-left">
|
||||
<h3
|
||||
className="text-lg font-medium leading-6 text-gray-900"
|
||||
className={`text-lg font-medium leading-6 text-gray-900 ${
|
||||
props.icon ? 'ml-10 -mt-8 mb-5' : ''
|
||||
}`}
|
||||
id="modal-title"
|
||||
>
|
||||
{props.title}
|
||||
|
Loading…
Reference in New Issue
Block a user