Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3300622
D3316.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
D3316.diff
View Options
diff --git a/web/chat/chat-tabs.css b/web/chat/chat-tabs.css
--- a/web/chat/chat-tabs.css
+++ b/web/chat/chat-tabs.css
@@ -19,16 +19,14 @@
div.tabItem {
display: flex;
justify-content: center;
+ align-items: center;
width: 50%;
padding: 16px 0;
text-align: center;
cursor: pointer;
}
-div.tabItem span {
- display: flex;
-}
-div.tabItem span svg {
- padding-right: 12px;
+div.tabItem svg {
+ padding-right: 8px;
}
div.tabItemActive {
border: outset var(--thread-selection);
diff --git a/web/chat/chat-thread-tab.react.js b/web/chat/chat-thread-tab.react.js
--- a/web/chat/chat-thread-tab.react.js
+++ b/web/chat/chat-thread-tab.react.js
@@ -19,12 +19,11 @@
[css.tabItemActive]: tabIsActive,
[css.tabItemInactive]: !tabIsActive,
});
+
return (
<div className={className} onClick={onClick}>
- <span>
- <SWMansionIcon icon={icon} size={24} />
- {title}
- </span>
+ <SWMansionIcon icon={icon} size={24} />
+ <span>{title}</span>
</div>
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 8:25 PM (21 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2535811
Default Alt Text
D3316.diff (1 KB)
Attached To
Mode
D3316: [web] [fix] chat tab icon alignment and spacing
Attached
Detach File
Event Timeline
Log In to Comment