Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix member section style

Stevenc2ab05d4226a
diff --git a/web/src/components/Settings/MemberSection.tsx b/web/src/components/Settings/MemberSection.tsx
index 1198d154a..8f264391c 100644
--- a/web/src/components/Settings/MemberSection.tsx
+++ b/web/src/components/Settings/MemberSection.tsx
@@ -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;