Page MenuHomePhabricator

D3316.id10046.diff
No OneTemporary

D3316.id10046.diff

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} />
+ <p>{title}</p>
</div>
);
}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 10:41 PM (22 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2536058
Default Alt Text
D3316.id10046.diff (1 KB)

Event Timeline