Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

fix(mobile): reduce system info text size

tianma-ifc1c1c61d47da
diff --git a/apps/mobile/src/screens/WorkspaceSettingsView.tsx b/apps/mobile/src/screens/WorkspaceSettingsView.tsx
index ece1a4e5..44c89e9e 100644
--- a/apps/mobile/src/screens/WorkspaceSettingsView.tsx
+++ b/apps/mobile/src/screens/WorkspaceSettingsView.tsx
@@ -486,7 +486,7 @@ const MobileSystemInfoSection = ({ group }: { group: MobileSystemInfoGroup }) =>
<View key={`${group.id}-row-${rowIndex}`} style={styles.systemInfoRow}>
{rowItems.map((item) => (
<View key={item.label} style={styles.systemInfoCell}>
- <Text style={styles.panelLabel}>{item.label}</Text>
+ <Text style={styles.systemInfoItemLabel}>{item.label}</Text>
<Text selectable style={[styles.systemInfoListValue, item.mono && styles.systemInfoMonoValue]}>{item.value}</Text>
</View>
))}
@@ -721,7 +721,7 @@ const getMobileSystemInfoGroups = (
{ label: copy.databaseBackend, value: getMobileDatabaseBackend(instance?.health.storage?.database, copy.unknown) },
{ label: copy.deploymentPlatform, value: getMobileDeploymentPlatform(instance?.health.runtime, english) },
{ label: copy.instanceBuild, mono: true, value: instance?.health.build || copy.unknown },
- { label: copy.newUploadObjectStorage, value: getMobileObjectStorage(instance?.health, english, copy.unknown) },
+ { fullWidth: true, label: copy.newUploadObjectStorage, value: getMobileObjectStorage(instance?.health, english, copy.unknown) },
...(instance?.health.objectStorageProvider === "s3"
? [{ fullWidth: true, label: copy.existingAttachments, value: copy.existingAttachmentsOriginalStorage }]
: []),
diff --git a/apps/mobile/src/screens/workspace-styles.ts b/apps/mobile/src/screens/workspace-styles.ts
index f3a696b4..1ca4c48b 100644
--- a/apps/mobile/src/screens/workspace-styles.ts
+++ b/apps/mobile/src/screens/workspace-styles.ts
@@ -1100,13 +1100,19 @@ const baseWorkspaceStyles = StyleSheet.create({
minWidth: 0,
gap: 2,
},
+ systemInfoItemLabel: {
+ color: "#64748b",
+ fontSize: 11,
+ fontWeight: "500",
+ },
systemInfoListValue: {
color: "#0f172a",
- fontSize: 12,
+ fontSize: 11,
fontWeight: "400",
},
systemInfoMonoValue: {
fontFamily: "monospace",
+ fontSize: 10,
},
panelLinkRow: {
alignItems: "center",