mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-20 01:36:32 +00:00
Fix drive selector modal padding
Changelog-entry: Fix drive selector modal padding Change-type: patch
This commit is contained in:
parent
9280113350
commit
943765bd4d
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user