0
0
Fork 0

デザイン調整

This commit is contained in:
Xeltica 2022-01-27 17:47:01 +09:00
parent ae17ec5777
commit 11f185bf72
3 changed files with 27 additions and 36 deletions

View file

@ -30,15 +30,11 @@ export const AccountsPage: React.VFC = () => {
<Skeleton />
</div>
) : (
<div className="fade vstack">
<article>
<p>
<b>{t('_accounts.currentAccount')}:</b> @{data.username}@{data.host}
</p>
</article>
<article className="card">
<div className="body">
<h1>{t('_accounts.switchAccount')}</h1>
<article className="fade">
<h1 className="text-125 text-bold">{data.username}<span className="text-dimmed">@{data.host}</span></h1>
<div>
<strong>{t('_accounts.switchAccount')}</strong>
</div>
<div className="menu large fluid mb-2">
{
accounts.length === accountTokens.length ? (
@ -61,8 +57,6 @@ export const AccountsPage: React.VFC = () => {
}
</div>
<LoginForm />
</div>
</article>
</div>
);
};

View file

@ -4,7 +4,6 @@ import { Link } from 'react-router-dom';
import { IAnnouncement } from '../../common/types/announcement';
import { $get } from '../misc/api';
import { Card } from './Card';
export const AnnouncementList: React.VFC = () => {
const [announcements, setAnnouncements] = useState<IAnnouncement[]>([]);

View file

@ -95,6 +95,4 @@ small {
}
.login-form {
background: var(--panel);
border-radius: var(--radius);
}