Set a max-width container wrapper
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="columns">
|
<div class="columns">
|
||||||
<sidenav />
|
<sidenav />
|
||||||
<main>
|
<main class="container">
|
||||||
<pw-header />
|
<pw-header />
|
||||||
<nuxt />
|
<nuxt />
|
||||||
<pw-footer />
|
<pw-footer />
|
||||||
@@ -32,7 +32,6 @@ export default {
|
|||||||
"background-color:black;padding:4px 8px;border-radius:8px;font-size:16px;color:white;"
|
"background-color:black;padding:4px 8px;border-radius:8px;font-size:16px;color:white;"
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
document.removeEventListener("keydown", this._keyListener)
|
document.removeEventListener("keydown", this._keyListener)
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -12,11 +12,15 @@ module.exports = {
|
|||||||
experimental: "all",
|
experimental: "all",
|
||||||
dark: "class",
|
dark: "class",
|
||||||
corePlugins: {
|
corePlugins: {
|
||||||
clear: false,
|
|
||||||
float: false,
|
float: false,
|
||||||
|
clear: false,
|
||||||
|
transitionDelay: false,
|
||||||
skew: false,
|
skew: false,
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
|
container: {
|
||||||
|
center: true,
|
||||||
|
},
|
||||||
extend: {
|
extend: {
|
||||||
colors: {
|
colors: {
|
||||||
bgColor: "var(--bg-color)",
|
bgColor: "var(--bg-color)",
|
||||||
@@ -30,7 +34,6 @@ module.exports = {
|
|||||||
actColor: "var(--act-color)",
|
actColor: "var(--act-color)",
|
||||||
ttColor: "var(--tt-color)",
|
ttColor: "var(--tt-color)",
|
||||||
},
|
},
|
||||||
inset: {},
|
|
||||||
},
|
},
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
body: "var(--font-body)",
|
body: "var(--font-body)",
|
||||||
@@ -49,7 +52,6 @@ module.exports = {
|
|||||||
"pages/**/*.vue",
|
"pages/**/*.vue",
|
||||||
"plugins/**/*.js",
|
"plugins/**/*.js",
|
||||||
"nuxt.config.js",
|
"nuxt.config.js",
|
||||||
"content/**/*.md",
|
|
||||||
],
|
],
|
||||||
// These options are passed through directly to PurgeCSS
|
// These options are passed through directly to PurgeCSS
|
||||||
options: {
|
options: {
|
||||||
|
|||||||
Reference in New Issue
Block a user