From 612a76ddd07fb0a00a5ce5590cd1d177dad74c11 Mon Sep 17 00:00:00 2001 From: bossgeekgo Date: Mon, 12 Feb 2024 19:31:34 +0800 Subject: [PATCH] change default font to monospace --- packages/ui/src/renderer/src/main.ts | 1 + .../src/page/Configuration/GeekAutoStartChatWithBoss.vue | 6 ------ .../src/page/GeekAutoStartChatWithBoss/RunningStatus.vue | 2 +- packages/ui/src/renderer/src/style/public.scss | 7 +++++++ 4 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 packages/ui/src/renderer/src/style/public.scss diff --git a/packages/ui/src/renderer/src/main.ts b/packages/ui/src/renderer/src/main.ts index e86287f..38ba63e 100644 --- a/packages/ui/src/renderer/src/main.ts +++ b/packages/ui/src/renderer/src/main.ts @@ -3,6 +3,7 @@ import ElementPlus from 'element-plus' import App from './App.vue' import router from './router' import 'normalize.css' +import './style/public.scss' import 'element-plus/dist/index.css' createApp(App).use(router).use(ElementPlus).mount('#app') diff --git a/packages/ui/src/renderer/src/page/Configuration/GeekAutoStartChatWithBoss.vue b/packages/ui/src/renderer/src/page/Configuration/GeekAutoStartChatWithBoss.vue index 5c7b8c1..21d6c8e 100644 --- a/packages/ui/src/renderer/src/page/Configuration/GeekAutoStartChatWithBoss.vue +++ b/packages/ui/src/renderer/src/page/Configuration/GeekAutoStartChatWithBoss.vue @@ -94,7 +94,6 @@ const handleExpectCompaniesInputBlur = (event) => { diff --git a/packages/ui/src/renderer/src/page/GeekAutoStartChatWithBoss/RunningStatus.vue b/packages/ui/src/renderer/src/page/GeekAutoStartChatWithBoss/RunningStatus.vue index e8b9b96..bc110ac 100644 --- a/packages/ui/src/renderer/src/page/GeekAutoStartChatWithBoss/RunningStatus.vue +++ b/packages/ui/src/renderer/src/page/GeekAutoStartChatWithBoss/RunningStatus.vue @@ -3,7 +3,7 @@

Hi buddy!

I'm finding your expected job and will start a chat with recruiter.

-

You can view the positions I've chatted with in BossZhipin App on your cellphone.

+

You can view the positions you've chatted with in BossZhipin App on your cellphone.

Good luck to you!

Stop diff --git a/packages/ui/src/renderer/src/style/public.scss b/packages/ui/src/renderer/src/style/public.scss new file mode 100644 index 0000000..9ce9f58 --- /dev/null +++ b/packages/ui/src/renderer/src/style/public.scss @@ -0,0 +1,7 @@ +html, body { + --monospace-font-family: Monaco, Consolas, Menlo, monospace; + font-family: var(--monospace-font-family); +} +button, input, textarea { + font-family: inherit; +}