Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3388288
D3671.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.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
Sat, Nov 30, 1:34 PM (21 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2601131
Default Alt Text
D3671.diff (1 KB)
Attached To
Mode
D3671: [web] Adjust `MembersModal` size to match designs
Attached
Detach File
Event Timeline
Log In to Comment