Center align app version info

Center align the app version and description text in the settings page.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-21 13:17:30 +00:00
parent e7352123c4
commit 51bcdf2d05
3 changed files with 12 additions and 11 deletions

View File

@@ -1,3 +1,4 @@
import React from 'react';
import { useNavigate } from 'react-router-dom';
import NavBar from '@/components/NavBar';
@@ -104,10 +105,9 @@ const Settings = () => {
<SettingsOption icon={LogOut} label={user ? "로그아웃" : "로그인"} color="text-neuro-expense" onClick={user ? handleLogout : () => navigate('/login')} />
</div>
<div className="mt-10 border-t border-gray-200 pt-4">
<div>
<AppVersionInfo showDevInfo={true} editable={true} />
<div className="mt-10 border-t border-gray-200 pt-4 text-center">
<div className="flex justify-center">
<AppVersionInfo showDevInfo={true} editable={true} className="w-full" />
</div>
{/* 앱 버전 카드 아래 추가 공간 */}
@@ -118,4 +118,4 @@ const Settings = () => {
<NavBar />
</div>;
};
export default Settings;
export default Settings;