fix(frontend): fix modal design and rename some text for adding servers

This commit is contained in:
sct
2020-11-05 10:53:56 +00:00
parent 24a0423f3b
commit 46d99b02b1
4 changed files with 9 additions and 5 deletions

View File

@@ -116,7 +116,11 @@ const Modal: React.FC<ModalProps> = ({
{iconSvg}
</div>
)}
<div className="mt-3 text-center sm:mt-0 sm:text-left mb-6">
<div
className={`mt-3 text-center sm:mt-0 sm:text-left ${
iconSvg ? 'sm:ml-4' : 'mb-6'
}`}
>
{title && (
<h3
className="text-lg leading-6 font-medium text-white"