Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
1a4e96d0
Commit
1a4e96d0
authored
Jan 26, 2020
by
NGPixel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: use monospaced font for code injection textareas
parent
95e79a73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
admin-theme.vue
client/components/admin/admin-theme.vue
+9
-4
No files found.
client/components/admin/admin-theme.vue
View file @
1a4e96d0
...
...
@@ -100,7 +100,7 @@
v-toolbar(color='primary', dark, dense, flat)
v-toolbar-title.subtitle-1
{{
$t
(
`admin:theme.codeInjection`
)
}}
v-card-text
v-textarea(
v-textarea
.is-monospaced
(
v-model='config.injectCSS'
:label='$t(`admin:theme.cssOverride`)'
outlined
...
...
@@ -112,7 +112,7 @@
i18next.caption.pl-2.ml-1(path='admin:theme.cssOverrideWarning', tag='div')
strong.red--text(place='caution')
{{
$t
(
'admin:theme.cssOverrideWarningCaution'
)
}}
code(place='cssClass') .contents
v-textarea.mt-3(
v-textarea.
is-monospaced.
mt-3(
v-model='config.injectHead'
:label='$t(`admin:theme.headHtmlInjection`)'
outlined
...
...
@@ -121,7 +121,7 @@
:hint='$t(`admin:theme.headHtmlInjectionHint`)'
auto-grow
)
v-textarea.mt-2(
v-textarea.
is-monospaced.
mt-2(
v-model='config.injectBody'
:label='$t(`admin:theme.bodyHtmlInjection`)'
outlined
...
...
@@ -246,5 +246,10 @@ export default {
</
script
>
<
style
lang=
'scss'
>
.v-textarea.is-monospaced
textarea
{
font-family
:
'Roboto Mono'
;
font-size
:
13px
;
font-weight
:
600
;
line-height
:
1
.4
;
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment