瀏覽代碼

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

tags/1.2.0
Bowen Liang 7 月之前
父節點
當前提交
4a505c19df
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      web/app/components/header/account-dropdown/workplace-selector/index.tsx

+ 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…
取消
儲存