From e2f59f804e4b67221cc971e9d142c2bd3c33c940 Mon Sep 17 00:00:00 2001 From: Dede Fuji Abdul Date: Wed, 10 Jan 2024 10:36:29 +0700 Subject: [PATCH] Refactor HTML and CSS styles --- index.html | 6 +++--- src/assets/css/tailwind.css | 9 +++++++++ vite.config.ts | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 6c78738..72f89e9 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,13 @@ - + Executive Information System - -
+ +
\ No newline at end of file diff --git a/src/assets/css/tailwind.css b/src/assets/css/tailwind.css index cb1564b..ef012dc 100644 --- a/src/assets/css/tailwind.css +++ b/src/assets/css/tailwind.css @@ -3,6 +3,15 @@ @tailwind utilities; @layer components { + html { + @apply h-full bg-layout; + } + body { + @apply h-full; + } + #app { + @apply h-full; + } /* NavBar */ .menu-item { @apply w-full text-left block px-4 py-3 text-base text-gray-800; diff --git a/vite.config.ts b/vite.config.ts index 39e9aec..125d649 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -16,7 +16,7 @@ export default defineConfig({ } }), vueJsx(), - process.env.NODE_ENV === 'production' ? utwm({}) : undefined, + // process.env.NODE_ENV === 'production' && utwm({}) ], resolve: { alias: {