chore: fix member section style

This commit is contained in:
Steven 2023-10-21 01:09:52 +08:00
parent 7b25b8c1e1
commit c2ab05d422

View File

@ -13,7 +13,7 @@ interface State {
createUserPassword: string;
}
const PreferencesSection = () => {
const MemberSection = () => {
const t = useTranslate();
const userStore = useUserStore();
const currentUser = userStore.state.user;
@ -132,7 +132,7 @@ const PreferencesSection = () => {
<div className="w-full flex flex-row justify-between items-center mt-6">
<div className="title-text">{t("setting.member-list")}</div>
</div>
<div className="w-full overflow-x-auto max-h-[calc(100%-22rem)]">
<div className="w-full overflow-x-auto">
<div className="inline-block min-w-full align-middle">
<table className="min-w-full divide-y divide-gray-300 dark:divide-gray-400">
<thead>
@ -214,4 +214,4 @@ const PreferencesSection = () => {
);
};
export default PreferencesSection;
export default MemberSection;