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