Skip to content

Commit

Permalink
Merge pull request #24 from motea927/dev
Browse files Browse the repository at this point in the history
docs: prevent docs logo contains mismatches
  • Loading branch information
motea927 authored Jun 19, 2023
2 parents 9fc3c9c + 17c6694 commit 0537c63
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 22 deletions.
3 changes: 2 additions & 1 deletion packages/docs/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export default defineAppConfig({
fluid: true
},
header: {
logo: true,
// logo: true,
title: 'mt-v-safe-html',
showLinkIcon: true,
exclude: []
},
Expand Down
20 changes: 0 additions & 20 deletions packages/docs/components/Logo.vue

This file was deleted.

3 changes: 2 additions & 1 deletion packages/docs/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ export default defineNuxtConfig({
'@nuxtjs/plausible',
// https://github.com/nuxt/devtools
'@nuxt/devtools'
]
],
css: ['~/style.scss']
})
8 changes: 8 additions & 0 deletions packages/docs/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.section a .title::before {
content: '';
display: inline-block;
background: url('/mt-v-safe-html.png') center / 30px 30px no-repeat;
width: 30px;
height: 30px;
vertical-align: middle;
}

0 comments on commit 0537c63

Please sign in to comment.