Center align app version info
Center align the app version and description text in the settings page.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user