From 8802d20555fdd21bde9a39065da006b253fb8862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20S=C3=A1rai?= Date: Mon, 20 Nov 2023 13:59:40 +0100 Subject: [PATCH] style: add padding to files download (#387) (#639) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ferenc Sárai --- src/components/ExpandableListItemInput.tsx | 54 +++++++++++----------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/src/components/ExpandableListItemInput.tsx b/src/components/ExpandableListItemInput.tsx index 7924098..7df9c72 100644 --- a/src/components/ExpandableListItemInput.tsx +++ b/src/components/ExpandableListItemInput.tsx @@ -1,4 +1,4 @@ -import { Grid, IconButton, InputBase, ListItem, Typography } from '@material-ui/core' +import { Box, Grid, IconButton, InputBase, ListItem, Typography } from '@material-ui/core' import Collapse from '@material-ui/core/Collapse' import { createStyles, makeStyles, Theme } from '@material-ui/core/styles' import { ChangeEvent, ReactElement, useState } from 'react' @@ -134,31 +134,33 @@ export default function ExpandableListItemKey({ {helperText && {helperText}} - - { - if (onConfirm) onConfirm(inputValue) - }} - > - {confirmLabel || 'Save'} - - setInputValue(value || '')} - cancel - > - Cancel - - + + + { + if (onConfirm) onConfirm(inputValue) + }} + > + {confirmLabel || 'Save'} + + setInputValue(value || '')} + cancel + > + Cancel + + + )