Skip to content

Commit

Permalink
[all]: Add a background for <html> for overscroll styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrRip committed Dec 23, 2023
1 parent f581c1b commit 87a2928
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/admin/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export default defineNuxtConfig({
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
htmlAttrs: {
lang: 'zh'
lang: 'zh',
class: 'bg-white-alt'
},
title: '管理面板 | 洺知-故犯',
meta: [
Expand Down
3 changes: 2 additions & 1 deletion packages/home/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ export default defineNuxtConfig({
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
htmlAttrs: {
lang: 'zh'
lang: 'zh',
class: 'bg-white-alt'
},
title: '洺知-故犯',
meta: [
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { Config } from 'tailwindcss'

export default {
content: [
'./nuxt.config.ts',
'./app.vue',
'./pages/**/*.vue',
'./components/**/*.vue'
Expand Down

0 comments on commit 87a2928

Please sign in to comment.