Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit db2778f

Browse files
committedApr 11, 2025·
Fix close button position
1 parent b242a76 commit db2778f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎search_interface/src/Search/SearchDialog.js

+7-1
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)