Fix autogrow input whitespace bug (#10388)
Also fixed chip alignment. Before: https://github.com/user-attachments/assets/7bfe7c73-676a-4dee-b5df-fed15b663267 After: https://github.com/user-attachments/assets/9060b3cc-051b-41f7-8149-418ed1c223cb
This commit is contained in:
@ -8,6 +8,7 @@ const StyledChip = styled.button<{
|
||||
onClick?: () => void;
|
||||
}>`
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: ${({ theme }) => theme.background.transparent.light};
|
||||
border: 1px solid ${({ theme }) => theme.border.color.medium};
|
||||
border-radius: ${({ theme }) => theme.border.radius.md};
|
||||
|
||||
@ -10,6 +10,7 @@ type AutogrowWrapperProps = {
|
||||
const StyledNodeWrapper = styled.span`
|
||||
pointer-events: none;
|
||||
visibility: hidden;
|
||||
white-space: pre;
|
||||
`;
|
||||
|
||||
const StyledContainer = styled.div`
|
||||
|
||||
Reference in New Issue
Block a user