Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

refactor: upgrade tailwindcss

Liyas Thomas942b86c647dd
diff --git a/components/app/Header.vue b/components/app/Header.vue
index f2fb31611..7a34375a1 100644
--- a/components/app/Header.vue
+++ b/components/app/Header.vue
@@ -70,7 +70,7 @@
<img
v-if="fb.currentUser.photoURL"
:src="fb.currentUser.photoURL"
- class="w-8 h-8 rounded-full material-icons"
+ class="w-6 h-6 rounded-full material-icons"
alt="Profile image"
/>
<i v-else class="material-icons">account_circle</i>
diff --git a/nuxt.config.js b/nuxt.config.js
index b6d8ab36a..29b6be6ad 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -201,6 +201,7 @@ export default {
// TailwindCSS module configuration (https://github.com/nuxt-community/tailwindcss-module)
tailwindcss: {
jit: true,
+ viewer: false,
},
// i18n module configuration (https://github.com/nuxt-community/i18n-module)
diff --git a/pages/settings.vue b/pages/settings.vue
index cfd013466..21f3dd11b 100644
--- a/pages/settings.vue
+++ b/pages/settings.vue
@@ -8,7 +8,7 @@
<img
v-if="fb.currentUser.photoURL"
:src="fb.currentUser.photoURL"
- class="w-8 h-8 rounded-full material-icons"
+ class="w-6 h-6 rounded-full material-icons"
/>
<i v-else class="material-icons">account_circle</i>
<span>
diff --git a/tailwind.config.js b/tailwind.config.js
index 8d37badbc..242f70ff4 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -5,11 +5,6 @@
** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
*/
module.exports = {
- future: {
- removeDeprecatedGapUtilities: true,
- purgeLayersByDefault: true,
- },
- experimental: "all",
dark: "class",
corePlugins: {
float: false,