Skip to content

Commit db2778f

Browse files
committed
Fix close button position
1 parent b242a76 commit db2778f

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

search_interface/src/Search/SearchDialog.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,13 @@ function SearchDialog({
160160
onClick={handleDialogClose}
161161
size='small'
162162
variant='outlined'
163-
sx={{ pt: 0.8, minWidth: 44, height: 44, textTransform: 'none', flexDirection: 'column' }}
163+
sx={{
164+
height: '100%',
165+
textTransform: 'none',
166+
flexDirection: 'column',
167+
minWidth: 'auto', // allow width to shrink
168+
px: 1.3
169+
}}
164170
>
165171
<CloseIcon fontSize='inherit' />
166172
Esc

0 commit comments

Comments
 (0)