mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-05-12 19:39:51 +08:00
change default font to monospace
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -94,7 +94,6 @@ const handleExpectCompaniesInputBlur = (event) => {
|
||||
|
||||
<style scoped lang="scss">
|
||||
.form-wrap {
|
||||
--monospace-font-family: Monaco, Consolas, Menlo, monospace;
|
||||
padding-top: 100px;
|
||||
margin: 0 auto;
|
||||
max-width: 640px;
|
||||
@@ -104,10 +103,5 @@ const handleExpectCompaniesInputBlur = (event) => {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
font-family: var(--monospace-font-family);
|
||||
button, input, textarea {
|
||||
font-family: var(--monospace-font-family);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<article>
|
||||
<h1>Hi buddy!</h1>
|
||||
<p>I'm finding your expected job and will start a chat with recruiter.</p>
|
||||
<p>You can view the positions I've chatted with in BossZhipin App on your cellphone.</p>
|
||||
<p>You can view the positions you've chatted with in BossZhipin App on your cellphone.</p>
|
||||
<p>Good luck to you!</p>
|
||||
</article>
|
||||
<el-button :disabled="isStopping" @click="handleStop">Stop</el-button>
|
||||
|
||||
7
packages/ui/src/renderer/src/style/public.scss
Normal file
7
packages/ui/src/renderer/src/style/public.scss
Normal file
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user