Преглед изворни кода

fix: enlarge workspace selector width to show current workspace (#17288)

tags/1.2.0
Bowen Liang пре 7 месеци
родитељ
комит
4a505c19df
No account linked to committer's email address

+ 1
- 1
web/app/components/header/account-dropdown/workplace-selector/index.tsx Прегледај датотеку

@@ -44,7 +44,7 @@ const WorkplaceSelector = () => {
<span className='bg-gradient-to-r from-components-avatar-shape-fill-stop-0 to-components-avatar-shape-fill-stop-100 bg-clip-text font-semibold uppercase text-shadow-shadow-1 opacity-90'>{currentWorkspace?.name[0]?.toLocaleUpperCase()}</span>
</div>
<div className='flex flex-row'>
<div className={'system-sm-medium max-w-[80px] truncate text-text-secondary'}>{currentWorkspace?.name}</div>
<div className={'system-sm-medium max-w-[160px] truncate text-text-secondary'}>{currentWorkspace?.name}</div>
<RiArrowDownSLine className='h-4 w-4 text-text-secondary' />
</div>
</MenuButton>

Loading…
Откажи
Сачувај