This commit is contained in:
StyleZhang
2024-03-19 16:04:34 +08:00
parent 0ede136d67
commit dbaf54c93d
4 changed files with 57 additions and 7 deletions

View File

@ -56,10 +56,10 @@ const Add = ({
{
branchName && (
<div
className='absolute left-1 right-1 -top-[7.5px] flex items-center px-0.5 h-3 bg-white text-[10px] text-gray-500 font-semibold rounded-[5px] truncate'
className='absolute left-1 right-1 -top-[7.5px] flex items-center h-3 text-[10px] text-gray-500 font-semibold'
title={branchName.toLocaleUpperCase()}
>
{branchName.toLocaleUpperCase()}
<div className='inline-block px-0.5 rounded-[5px] bg-white truncate'>{branchName.toLocaleUpperCase()}</div>
</div>
)
}

View File

@ -64,10 +64,10 @@ const Item = ({
{
branchName && (
<div
className='absolute left-1 right-1 -top-[7.5px] flex items-center px-0.5 h-3 bg-white text-[10px] text-gray-500 font-semibold rounded-[5px] truncate'
className='absolute left-1 right-1 -top-[7.5px] flex items-center h-3 text-[10px] text-gray-500 font-semibold'
title={branchName.toLocaleUpperCase()}
>
{branchName.toLocaleUpperCase()}
<div className='inline-block px-0.5 rounded-[5px] bg-white truncate'>{branchName.toLocaleUpperCase()}</div>
</div>
)
}