From 7ebc4db9dba06c7ae110793b21a90c6c2286fd19 Mon Sep 17 00:00:00 2001 From: SethBurkart123 Date: Sun, 17 Aug 2025 09:00:37 +1000 Subject: [PATCH] fix: global search missing styles #335 --- src/plugins/built-in/globalSearch/lazy.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/built-in/globalSearch/lazy.ts b/src/plugins/built-in/globalSearch/lazy.ts index 1f49a1f0..793d42fc 100644 --- a/src/plugins/built-in/globalSearch/lazy.ts +++ b/src/plugins/built-in/globalSearch/lazy.ts @@ -5,6 +5,8 @@ import { defineSettings, hotkeySetting, } from "../../core/settingsHelpers"; +import styles from "./src/core/styles.css?inline"; + // Platform-aware default hotkey const getDefaultHotkey = () => { const isMac = navigator.platform.toUpperCase().indexOf('MAC') >= 0; @@ -82,6 +84,7 @@ export default defineLazyPlugin({ disableToggle: true, defaultEnabled: false, beta: true, + styles: styles, // Lazy loader - only imports the heavy plugin when actually needed loader: () => import("./src/core/index")