From 44cdbe4531fb84576ff78228be82aa8e9cb9a5bc Mon Sep 17 00:00:00 2001 From: June Hansen <44864244+Kahera@users.noreply.github.com> Date: Tue, 26 Dec 2023 20:15:18 +0100 Subject: [PATCH] fixed various minor visual things, including color on dropdown button, visuals on about me on extremely small screens and making icon buttons not load bigger than they should be --- src/App.vue | 2 +- src/components/ButtonComponent.vue | 11 ++-- src/components/DropdownComponent.vue | 6 +- src/components/NavbarComponent.vue | 18 +++--- src/views/About/AboutView.vue | 2 +- tailwind.config.js | 95 +++++++++++++++------------- 6 files changed, 71 insertions(+), 63 deletions(-) diff --git a/src/App.vue b/src/App.vue index a3a8599..8793543 100644 --- a/src/App.vue +++ b/src/App.vue @@ -9,7 +9,7 @@ import NavbarComponent from './components/NavbarComponent.vue'; -
+
diff --git a/src/components/ButtonComponent.vue b/src/components/ButtonComponent.vue index d819767..7c2cd76 100644 --- a/src/components/ButtonComponent.vue +++ b/src/components/ButtonComponent.vue @@ -51,7 +51,7 @@ const background = computed(() => { switch (props.color) { case 'primary': if (props.type == 'soft') return 'bg-primary/40'; - return 'bg-primary-hover-bg'; + return 'primary-hover-bg'; case 'secondary': if (props.type == 'soft') return 'bg-secondary/40'; return 'secondary-hover-bg'; @@ -150,11 +150,10 @@ const buttonSize = computed(() => { switch (props.size) { case 'sm': return 'px-2 text-sm'; - case 'md': - return 'px-3 py-1 text-base'; - case 'lg': + case 'lg': return 'px-3 py-2 text-lg'; - default: return 'px-3 py-1 text-base'; + case 'md': + default: return 'px-3 py-1 text-base'; } }); @@ -174,7 +173,7 @@ const iconSize = computed(() => {