Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33066207
D9456.1768438655.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
D9456.1768438655.diff
View Options
diff --git a/web/components/menu.css b/web/components/menu.css
--- a/web/components/menu.css
+++ b/web/components/menu.css
@@ -50,6 +50,15 @@
margin-top: 20px;
}
+div.userProfileActions {
+ font-size: var(--s-font-14);
+ background-color: var(--menu-bg-light);
+ color: var(--menu-color);
+ stroke: var(--menu-color);
+ top: 24px;
+ right: -16px;
+}
+
button.menuAction {
color: inherit;
z-index: 1;
diff --git a/web/components/menu.react.js b/web/components/menu.react.js
--- a/web/components/menu.react.js
+++ b/web/components/menu.react.js
@@ -10,7 +10,8 @@
| 'thread-actions'
| 'member-actions'
| 'community-actions'
- | 'role-actions';
+ | 'role-actions'
+ | 'user-profile';
type MenuProps = {
+icon: React.Node,
@@ -35,6 +36,7 @@
[css.menuActionListMemberActions]: variant === 'member-actions',
[css.menuActionListCommunityActions]: variant === 'community-actions',
[css.menuActionListRoleActions]: variant === 'role-actions',
+ [css.userProfileActions]: variant === 'user-profile',
});
const menuActionList = React.useMemo(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 12:57 AM (16 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5935006
Default Alt Text
D9456.1768438655.diff (1 KB)
Attached To
Mode
D9456: [web] introduce user-profile as a menu variant
Attached
Detach File
Event Timeline
Log In to Comment