Fix drive selector modal padding

Changelog-entry: Fix drive selector modal padding
Change-type: patch
This commit is contained in:
Alexis Svinartchouk 2020-05-13 13:16:39 +02:00
parent 9280113350
commit 943765bd4d

View File

@ -141,24 +141,20 @@ export function DriveSelectorModal({ close }: { close: () => void }) {
return ( return (
<Modal <Modal
className="modal-drive-selector-modal" className="modal-drive-selector-modal"
title="Select a Drive" titleElement="Select a Drive"
done={close} done={close}
action="Continue" action="Continue"
style={{
padding: '20px 30px 11px 30px',
}}
primaryButtonProps={{ primaryButtonProps={{
primary: !hasStatus, primary: !hasStatus,
warning: hasStatus, warning: hasStatus,
}} }}
> >
<div>
<ul <ul
style={{ style={{
height: '250px', height: '210px',
overflowX: 'hidden', overflowX: 'hidden',
overflowY: 'auto', overflowY: 'auto',
padding: '0', padding: '0px',
}} }}
> >
{_.map(drives, (drive, index) => { {_.map(drives, (drive, index) => {
@ -252,7 +248,6 @@ export function DriveSelectorModal({ close }: { close: () => void }) {
</li> </li>
)} )}
</ul> </ul>
</div>
{missingDriversModal.drive !== undefined && ( {missingDriversModal.drive !== undefined && (
<Modal <Modal