瀏覽代碼

Merge pull request #13795 from open-webui/dev

refac
Tim Jaeryang Baek 5 月之前
父節點
當前提交
4ce1e88750
共有 3 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      src/app.css
  2. 1 1
      src/lib/components/admin/Users/UserList.svelte
  3. 2 2
      src/tailwind.css

+ 1 - 1
src/app.css

@@ -81,7 +81,7 @@ textarea::placeholder {
 }
 
 .font-primary {
-	font-family: 'Archivo', sans-serif;
+	font-family: 'Archivo', 'Vazirmatn', sans-serif;
 }
 
 .drag-region {

+ 1 - 1
src/lib/components/admin/Users/UserList.svelte

@@ -167,7 +167,7 @@
 />
 <UserChatsModal bind:show={showUserChatsModal} user={selectedUser} />
 
-{#if ($config?.license_metadata?.seats ?? null) !== null && users.length > $config?.license_metadata?.seats}
+{#if ($config?.license_metadata?.seats ?? null) !== null && total && total > $config?.license_metadata?.seats}
 	<div class=" mt-1 mb-2 text-xs text-red-500">
 		<Banner
 			className="mx-0"

+ 2 - 2
src/tailwind.css

@@ -23,8 +23,8 @@
 @layer base {
 	html,
 	pre {
-		font-family: -apple-system, BlinkMacSystemFont, 'Inter', ui-sans-serif, system-ui, 'Segoe UI',
-			Roboto, Ubuntu, Cantarell, 'Vazirmatn', 'Noto Sans', sans-serif, 'Helvetica Neue', Arial,
+		font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Vazirmatn', ui-sans-serif, system-ui,
+			'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif, 'Helvetica Neue', Arial,
 			'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
 	}