Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3367124
D3671.id11938.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3671.id11938.diff
View Options
diff --git a/web/components/tabs.css b/web/components/tabs.css
--- a/web/components/tabs.css
+++ b/web/components/tabs.css
@@ -3,6 +3,7 @@
display: flex;
flex-direction: column;
overflow: hidden;
+ max-height: 100%;
}
div.tabsHeaderContainer {
display: flex;
diff --git a/web/modals/threads/members/members-modal.css b/web/modals/threads/members/members-modal.css
--- a/web/modals/threads/members/members-modal.css
+++ b/web/modals/threads/members/members-modal.css
@@ -1,3 +1,8 @@
+div.modalContentContainer {
+ width: 383px;
+ height: 617px;
+}
+
div.membersList {
overflow: auto;
padding: 8px 0;
diff --git a/web/modals/threads/members/members-modal.react.js b/web/modals/threads/members/members-modal.react.js
--- a/web/modals/threads/members/members-modal.react.js
+++ b/web/modals/threads/members/members-modal.react.js
@@ -11,6 +11,7 @@
import { useSelector } from '../../../redux/redux-utils';
import SearchModal from '../../search-modal.react';
import ThreadMembersList from './members-list.react';
+import css from './members-modal.css';
type ContentProps = {
+searchText: string,
@@ -69,10 +70,12 @@
);
return (
- <Tabs.Container activeTab={tab} setTab={setTab}>
- {allUsersTab}
- {allAdminsTab}
- </Tabs.Container>
+ <div className={css.modalContentContainer}>
+ <Tabs.Container activeTab={tab} setTab={setTab}>
+ {allUsersTab}
+ {allAdminsTab}
+ </Tabs.Container>
+ </div>
);
}
@@ -93,6 +96,7 @@
name="Members"
searchPlaceholder="Search members"
onClose={onClose}
+ size="fit-content"
>
{renderModalContent}
</SearchModal>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 1:48 PM (9 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2584963
Default Alt Text
D3671.id11938.diff (1 KB)
Attached To
Mode
D3671: [web] Adjust `MembersModal` size to match designs
Attached
Detach File
Event Timeline
Log In to Comment