Improve this popup a little

This commit is contained in:
Lncvrt committed 2026-05-01 13:26:41 -07:00
1 parent e0a20ddcf1
commit a1a719ba72
1 file changed
+20 -10
+20 -10
View File
@@ -46,7 +46,8 @@ export default function ManageVersionPopup () {
return (
<>
<p className='text-xl text-center'>Viewing {versionInfo?.displayName}</p>
<div className='popup-content flex flex-col items-center justify-center gap-2 h-full'>
<div className='popup-content h-full w-full flex justify-center items-center flex-col gap-2'>
<div className='flex flex-row gap-2 justify-center'>
<div
className='entry-info-item btntheme2'
hidden={viewingInfoFromDownloads}
@@ -69,6 +70,19 @@ export default function ManageVersionPopup () {
)}
</p>
</div>
<div
className='entry-info-item btntheme2'
onClick={() => setPopupMode(4)}
hidden={!versionInfo?.changelog}
>
<p>View Changelog</p>
<FontAwesomeIcon
icon={faArrowUpRightFromSquare}
color='lightgray'
/>
</div>
</div>
<div className='flex flex-row gap-2 justify-center'>
<div
className='entry-info-item btntheme2'
hidden={viewingInfoFromDownloads}
@@ -82,14 +96,6 @@ export default function ManageVersionPopup () {
})}
</p>
</div>
<div
className='entry-info-item btntheme2'
onClick={() => setPopupMode(4)}
hidden={!versionInfo?.changelog}
>
<p>View Changelog</p>
<FontAwesomeIcon icon={faArrowUpRightFromSquare} color='lightgray' />
</div>
<div
className='entry-info-item btntheme2'
onClick={async () => openFolder(managingVersion)}
@@ -97,7 +103,10 @@ export default function ManageVersionPopup () {
hidden={viewingInfoFromDownloads}
>
Open Folder
<FontAwesomeIcon icon={faArrowUpRightFromSquare} color='lightgray' />
<FontAwesomeIcon
icon={faArrowUpRightFromSquare}
color='lightgray'
/>
</div>
<div
className='entry-info-item btntheme2'
@@ -198,6 +207,7 @@ export default function ManageVersionPopup () {
Reinstall
</div>
</div>
</div>
</>
)
}