mirror of
https://gitlab.com/ArkHost/HelixNotes.git
synced 2026-09-24 03:44:59 +02:00
Cross-platform groundwork: platform detection, iOS config, Windows drag-drop fix, Android 10 storage fix (#72), bundled fonts
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
import { openUrl } from '$lib/api';
|
||||
import type { ImportResult, BackupEntry } from '$lib/types';
|
||||
|
||||
const isMobile = /android|ios/i.test(navigator.userAgent);
|
||||
const isMobile = /android|iphone|ipad|ipod/i.test(navigator.userAgent);
|
||||
|
||||
type Tab = 'general' | 'editor' | 'styling' | 'import' | 'backup' | 'ai' | 'updates';
|
||||
let activeTab = $state<Tab>('styling');
|
||||
@@ -301,7 +301,7 @@
|
||||
];
|
||||
|
||||
const fontFamilyPresets = [
|
||||
{ name: 'System', value: 'system', stack: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif' },
|
||||
{ name: 'System', value: 'system', stack: 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif' },
|
||||
{ name: 'Inter', value: 'inter', stack: '"Inter", -apple-system, BlinkMacSystemFont, sans-serif' },
|
||||
{ name: 'Georgia', value: 'georgia', stack: 'Georgia, "Times New Roman", serif' },
|
||||
{ name: 'Merriweather', value: 'merriweather', stack: '"Merriweather", Georgia, serif' },
|
||||
|
||||
Reference in New Issue
Block a user