From 0110a107adcfb728a681b6b48df892be17154e60 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Tue, 27 Feb 2024 22:38:20 +0100 Subject: [PATCH] Change max width --- src/app.config.ts | 2 +- src/assets/css/tailwind.css | 6 +++++- src/components/Footer.vue | 2 +- src/components/header/Header.vue | 2 +- src/error.vue | 2 +- src/layouts/default.vue | 2 +- src/layouts/maintenance.vue | 2 +- 7 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/app.config.ts b/src/app.config.ts index 71e9b3e..47aa0be 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -11,7 +11,7 @@ export default defineAppConfig({ container: { base: 'mx-auto', padding: 'px-4 sm:px-6 lg:px-8', - constrained: 'max-w-7xl', + constrained: 'max-w-9xl', }, dropdown: { container: 'z-50', diff --git a/src/assets/css/tailwind.css b/src/assets/css/tailwind.css index 2f3bc91..7dc40d1 100644 --- a/src/assets/css/tailwind.css +++ b/src/assets/css/tailwind.css @@ -3,8 +3,12 @@ @tailwind utilities; @layer components { + .max-w-9xl { + max-width: 96rem; + } + .w-container { - @apply mx-auto max-w-7xl px-4 lg:px-32 md:px-16 sm:px-8; + @apply mx-auto max-w-9xl px-4 lg:px-32 md:px-16 sm:px-8; } .text-subtitle { diff --git a/src/components/Footer.vue b/src/components/Footer.vue index fc0c5a6..f516a41 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -4,7 +4,7 @@ const year = computed(() => new Date().getFullYear())