diff --git a/src/assets/main.scss b/src/assets/main.scss index 2e12d79..e5d72a0 100644 --- a/src/assets/main.scss +++ b/src/assets/main.scss @@ -11,6 +11,10 @@ @apply text-nowrap px-4 py-2 text-sm uppercase rounded-md select-none; } + .label-like { + @apply text-xs uppercase; + } + .dropdown-list-container { @apply absolute mt-2 w-full overflow-x-hidden rounded-md shadow-lg ring-2; @apply bg-slate-50 ring-black/5; diff --git a/src/components/AchievementBadge.vue b/src/components/AchievementBadge.vue index fc3e6a0..0d81284 100644 --- a/src/components/AchievementBadge.vue +++ b/src/components/AchievementBadge.vue @@ -167,7 +167,7 @@ const achievementProps: AchievementProps = { } .badge__text { - @apply absolute bottom-[3cqmin] min-w-full text-nowrap rounded-md text-center text-xs uppercase; + @apply absolute bottom-[3cqmin] min-w-full text-nowrap rounded-md text-center label-like; @apply bg-slate-700 text-slate-50; } diff --git a/src/components/AchievementList.vue b/src/components/AchievementList.vue index a845a25..ad3ffe4 100644 --- a/src/components/AchievementList.vue +++ b/src/components/AchievementList.vue @@ -114,6 +114,6 @@ const {achievements} = storeToRefs(useAppStateStore()); } .achievement-list__label { - @apply text-xs uppercase mb-2; + @apply label-like mb-2; } diff --git a/src/components/AllTimeStatus.vue b/src/components/AllTimeStatus.vue index 1626b19..f319cb0 100644 --- a/src/components/AllTimeStatus.vue +++ b/src/components/AllTimeStatus.vue @@ -41,7 +41,7 @@ const atMostVeggies = computed(() => diff --git a/src/components/LocaleChanger.vue b/src/components/LocaleChanger.vue index 87634d4..30a2d65 100644 --- a/src/components/LocaleChanger.vue +++ b/src/components/LocaleChanger.vue @@ -6,9 +6,9 @@ import {useAppStateStore} from '@/stores/appStateStore'; const {settings} = storeToRefs(useAppStateStore()); - + - {{ $t('settings.locale') }} + {{ $t('settings.locale') }} - {{ $t('qa.title') }} + {{ $t('qa.title') }} diff --git a/src/components/__tests__/__snapshots__/SettingsView.spec.ts.snap b/src/components/__tests__/__snapshots__/SettingsView.spec.ts.snap index e7a633e..172aece 100644 --- a/src/components/__tests__/__snapshots__/SettingsView.spec.ts.snap +++ b/src/components/__tests__/__snapshots__/SettingsView.spec.ts.snap @@ -1,8 +1,8 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`SettingsView > renders 1`] = ` -" - Language +" + Language @@ -15,7 +15,7 @@ exports[`SettingsView > renders 1`] = ` -Common Questions +Common Questions What's this app for? @@ -54,7 +54,7 @@ exports[`SettingsView > renders 1`] = ` -Remove all data from the app +Remove all data from the app Reset" `; diff --git a/src/views/SettingsView.vue b/src/views/SettingsView.vue index 8494687..ca1bd1f 100644 --- a/src/views/SettingsView.vue +++ b/src/views/SettingsView.vue @@ -25,7 +25,7 @@ const reset = () => { - {{ $t('settings.reset.label') }} + {{ $t('settings.reset.label') }} { }); - + - {{ $t('stats.chosenStats') }} + {{ $t('stats.chosenStats') }} {{ $t(`stats.${selectedStat}`) }}