mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
Fix some buttons
This commit is contained in:
parent
72cfbe9062
commit
dd10d490f0
@ -79,8 +79,8 @@ export const DiskII = ({ disk2, number, on, name, side }: DiskIIProps) => {
|
||||
<FileModal disk2={disk2} number={number} onClose={doClose} isOpen={modalOpen} />
|
||||
<ErrorModal error={error} setError={setError} />
|
||||
<div className={cs(styles.diskLight, { [styles.on]: on })} />
|
||||
<button title="Load Disk">
|
||||
<i className="fas fa-folder-open" onClick={onOpenModal} />
|
||||
<button title="Load Disk" onClick={onOpenModal}>
|
||||
<i className="fas fa-folder-open" />
|
||||
</button>
|
||||
<div className={styles.diskLabel}>
|
||||
{label}
|
||||
|
@ -106,7 +106,7 @@ export const FileModal = ({ disk2, number, onClose, isOpen }: FileModalProps) =>
|
||||
|
||||
return (
|
||||
<>
|
||||
<Modal title="Open File" isOpen={isOpen}>
|
||||
<Modal title="Open File" isOpen={isOpen} onClose={onClose}>
|
||||
<ModalContent>
|
||||
<div className={styles.loadModal}>
|
||||
<select multiple onChange={doSelectCategory}>
|
||||
|
Loading…
Reference in New Issue
Block a user