fix(ui): refinements for 'About' page (#2173)

* fix(ui): refinements for 'About' page

* fix: remove unneeded GithubLink function

* fix: display/link badges appropriately
This commit is contained in:
TheCatLady
2021-10-16 11:46:18 -04:00
committed by GitHub
parent 739f667b54
commit 084a842a4f
5 changed files with 104 additions and 86 deletions

View File

@@ -128,16 +128,16 @@ const Modal: React.FC<ModalProps> = ({
/>
</div>
)}
<div className="relative sm:flex sm:items-center">
<div className="relative overflow-x-hidden sm:flex sm:items-center">
{iconSvg && <div className="modal-icon">{iconSvg}</div>}
<div
className={`mt-3 text-center sm:mt-0 sm:text-left ${
className={`mt-3 text-center sm:mt-0 sm:text-left truncate text-white ${
iconSvg ? 'sm:ml-4' : 'sm:mb-4'
}`}
>
{title && (
<span
className="text-lg font-bold leading-6 text-white"
className="text-lg font-bold leading-6 truncate"
id="modal-headline"
>
{title}