Page MenuHomePhabricator

D3318.id10045.diff
No OneTemporary

D3318.id10045.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
@@ -24,6 +24,10 @@
padding: 16px 0;
text-align: center;
cursor: pointer;
+ background-color: var(--bg);
+ color: var(--color-disabled);
+ border: 2px solid var(--border-color);
+ border-width: 0 0 3px 0;
}
div.tabItem svg {
padding-right: 8px;
@@ -32,12 +36,6 @@
border: outset var(--thread-selection);
border-width: 0 0 3px 0;
}
-div.tabItemInactive {
- background-color: var(--bg);
- color: var(--color-disabled);
- border: 2px solid var(--border-color);
- border-width: 0 0 3px 0;
-}
div.threadList {
flex: 1;
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
@@ -14,10 +14,8 @@
};
function ChatThreadTab(props: Props): React.Node {
const { title, onClick, tabIsActive, icon } = props;
- const className = classNames({
- [css.tabItem]: true,
+ const className = classNames(css.tabItem, {
[css.tabItemActive]: tabIsActive,
- [css.tabItemInactive]: !tabIsActive,
});
return (

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 9, 8:36 PM (2 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2839044
Default Alt Text
D3318.id10045.diff (1 KB)

Event Timeline