Skip to content

Commit d8d3e10

Browse files
committed
Button fix
1 parent ce8cc67 commit d8d3e10

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/client/components/ChatV2/general/Buttons.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,15 @@ const BaseButton = styled(Button)({
1919
minWidth: 'fit-content',
2020
'& .MuiButton-startIcon': {
2121
fontSize: '22px',
22-
margin: 0,
23-
position: 'absolute',
24-
left: '1rem',
2522
},
2623
'& .MuiButton-startIcon > *:nth-of-type(1)': {
2724
fontSize: '22px',
2825
},
2926
'& .MuiButton-endIcon': {
3027
fontSize: '22px',
31-
margin: 0,
32-
position: 'absolute',
33-
right: '1rem',
3428
},
35-
'&:has(.MuiButton-startIcon)': {
36-
paddingLeft: '2.75rem',
29+
'&:has(.MuiButton-startIcon):has(.MuiButton-endIcon)': {
30+
justifyContent: 'space-between',
3731
},
3832
'&.Mui-disabled': {
3933
backgroundColor: '#e0e0e0',

0 commit comments

Comments
 (0)