chore: minor fixes for login page

This commit is contained in:
Tara Rostami
2025-04-26 23:22:43 -05:00
committed by GitHub
parent 3b47028060
commit 2fbb1ca6c9
3 changed files with 34 additions and 35 deletions

View File

@@ -24,7 +24,7 @@
{{define "component/themeSwitchTemplateLogin"}}
<template>
<a-space direction="vertical" :size="10" :style="{ width: '100%' }">
<a-space @mousedown="themeSwitcher.animationsOff()" id="change-theme" direction="vertical" :size="10" :style="{ width: '100%' }">
<a-space direction="horizontal" size="small">
<a-switch size="small" :default-checked="themeSwitcher.isDarkTheme" @change="themeSwitcher.toggleTheme()"></a-switch>
<span>{{ i18n "menu.dark" }}</span>