Merge pull request #6646 from s1adem4n/fix-popover-text
Some checks are pending
Deploy to HuggingFace Spaces / check-secret (push) Waiting to run
Deploy to HuggingFace Spaces / deploy (push) Blocked by required conditions
Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-cuda-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-ollama-images (push) Blocked by required conditions
Python CI / Format Backend (3.11) (push) Waiting to run
Frontend Build / Format & Build Frontend (push) Waiting to run
Frontend Build / Frontend Unit Tests (push) Waiting to run
Integration Test / Run Cypress Integration Tests (push) Waiting to run
Integration Test / Run Migration Tests (push) Waiting to run

fix: Truncate text in UserMenu so it doesn't break into multiple lines
This commit is contained in:
Timothy Jaeryang Baek 2024-11-01 18:22:21 -07:00 committed by GitHub
commit c44036e2b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,7 +69,7 @@
/> />
</svg> </svg>
</div> </div>
<div class=" self-center">{$i18n.t('Settings')}</div> <div class=" self-center truncate">{$i18n.t('Settings')}</div>
</button> </button>
<button <button
@ -86,7 +86,7 @@
<div class=" self-center mr-3"> <div class=" self-center mr-3">
<ArchiveBox className="size-5" strokeWidth="1.5" /> <ArchiveBox className="size-5" strokeWidth="1.5" />
</div> </div>
<div class=" self-center">{$i18n.t('Archived Chats')}</div> <div class=" self-center truncate">{$i18n.t('Archived Chats')}</div>
</button> </button>
{#if role === 'admin'} {#if role === 'admin'}
@ -117,7 +117,7 @@
/> />
</svg> </svg>
</div> </div>
<div class=" self-center">{$i18n.t('Playground')}</div> <div class=" self-center truncate">{$i18n.t('Playground')}</div>
</button> </button>
<button <button
@ -147,7 +147,7 @@
/> />
</svg> </svg>
</div> </div>
<div class=" self-center">{$i18n.t('Admin Panel')}</div> <div class=" self-center truncate">{$i18n.t('Admin Panel')}</div>
</button> </button>
{/if} {/if}
@ -181,7 +181,7 @@
/> />
</svg> </svg>
</div> </div>
<div class=" self-center">{$i18n.t('Sign Out')}</div> <div class=" self-center truncate">{$i18n.t('Sign Out')}</div>
</button> </button>
{#if $activeUserCount} {#if $activeUserCount}