소스 검색

Fix: Fixed the issue where tag content would overflow the container #8392 (#8393)

### What problem does this PR solve?

Fix: Fixed the issue where tag content would overflow the container
#8392
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.19.1
balibabu 4 달 전
부모
커밋
887651e5fa
No account linked to committer's email address
1개의 변경된 파일13개의 추가작업 그리고 17개의 파일을 삭제
  1. 13
    17
      web/src/components/edit-tag/index.tsx

+ 13
- 17
web/src/components/edit-tag/index.tsx 파일 보기

}; };


return ( return (
<div className="flex gap-[8px] items-start">
<div>
{Array.isArray(tagChild) && tagChild.length > 0 && ( {Array.isArray(tagChild) && tagChild.length > 0 && (
<TweenOneGroup <TweenOneGroup
className={styles.tweenGroup} className={styles.tweenGroup}
</TweenOneGroup> </TweenOneGroup>
)} )}
{inputVisible ? ( {inputVisible ? (
<div className="w-[180px] mb-[8px]">
<Input
ref={inputRef}
type="text"
size="small"
value={inputValue}
onChange={handleInputChange}
onBlur={handleInputConfirm}
onPressEnter={handleInputConfirm}
/>
</div>
<Input
ref={inputRef}
type="text"
size="small"
value={inputValue}
onChange={handleInputChange}
onBlur={handleInputConfirm}
onPressEnter={handleInputConfirm}
/>
) : ( ) : (
<div className="mb-[8px]">
<Tag onClick={showInput} style={tagPlusStyle}>
<PlusOutlined />
</Tag>
</div>
<Tag onClick={showInput} style={tagPlusStyle}>
<PlusOutlined />
</Tag>
)} )}
</div> </div>
); );

Loading…
취소
저장