Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33302457
D8919.1768779183.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D8919.1768779183.diff
View Options
diff --git a/web/modals/threads/settings/thread-settings-general-tab.css b/web/modals/threads/settings/thread-settings-general-tab.css
--- a/web/modals/threads/settings/thread-settings-general-tab.css
+++ b/web/modals/threads/settings/thread-settings-general-tab.css
@@ -34,3 +34,9 @@
flex-direction: column;
flex: 1;
}
+
+div.editAvatarContainer {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
diff --git a/web/modals/threads/settings/thread-settings-general-tab.react.js b/web/modals/threads/settings/thread-settings-general-tab.react.js
--- a/web/modals/threads/settings/thread-settings-general-tab.react.js
+++ b/web/modals/threads/settings/thread-settings-general-tab.react.js
@@ -147,16 +147,12 @@
return 'Save';
}, [threadSettingsOperationInProgress]);
- const editingAvatarsOnWebEnabled = false;
- let avatarNode;
- if (editingAvatarsOnWebEnabled) {
- avatarNode = <EditThreadAvatar threadInfo={threadInfo} />;
- }
-
return (
<form method="POST" className={css.container}>
<div>
- {avatarNode}
+ <div className={css.editAvatarContainer}>
+ <EditThreadAvatar threadInfo={threadInfo} />
+ </div>
<div className={css.form_title}>Chat name</div>
<div className={css.form_content}>
<Input
diff --git a/web/modals/threads/settings/thread-settings-modal.css b/web/modals/threads/settings/thread-settings-modal.css
--- a/web/modals/threads/settings/thread-settings-modal.css
+++ b/web/modals/threads/settings/thread-settings-modal.css
@@ -2,7 +2,7 @@
display: flex;
flex-direction: column;
width: 383px;
- height: 560px;
+ height: 650px;
overflow: hidden;
}
div.tab_body {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 18, 11:33 PM (5 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5953451
Default Alt Text
D8919.1768779183.diff (1 KB)
Attached To
Mode
D8919: [web] Fix `ThreadSettingsModal` and flip switch to enable `EditThreadAvatar`
Attached
Detach File
Event Timeline
Log In to Comment