Page MenuHomePhabricator

D10527.diff
No OneTemporary

D10527.diff

diff --git a/web/chat/chat-tabs.css b/web/chat/chat-tabs.css
deleted file mode 100644
--- a/web/chat/chat-tabs.css
+++ /dev/null
@@ -1,16 +0,0 @@
-div.container {
- width: 400px;
- background-color: var(--bg);
- border-right: 1px solid var(--border-color);
- display: flex;
- flex-direction: column;
-}
-
-div.threadList {
- flex: 1;
- overflow-y: auto;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- border-top: 1px solid var(--border-color);
-}
diff --git a/web/chat/chat-tabs.react.js b/web/chat/chat-tabs.react.js
--- a/web/chat/chat-tabs.react.js
+++ b/web/chat/chat-tabs.react.js
@@ -5,8 +5,6 @@
import { unreadBackgroundCount } from 'lib/selectors/thread-selectors.js';
-import css from './chat-tabs.css';
-import ChatThreadList from './chat-thread-list.react.js';
import { ThreadListContext } from './thread-list-provider.js';
import Tabs, { type TabData } from '../components/tabs.react.js';
import { useSelector } from '../redux/redux-utils.js';
@@ -41,25 +39,13 @@
);
const { activeTab, setActiveTab } = threadListContext;
- const tabs = React.useMemo(
- () => (
- <Tabs
- tabItems={tabsData}
- activeTab={activeTab}
- setTab={setActiveTab}
- headerStyle="pill"
- />
- ),
- [activeTab, setActiveTab, tabsData],
- );
-
return (
- <div className={css.container}>
- {tabs}
- <div className={css.threadList}>
- <ChatThreadList />
- </div>
- </div>
+ <Tabs
+ tabItems={tabsData}
+ activeTab={activeTab}
+ setTab={setActiveTab}
+ headerStyle="pill"
+ />
);
}
diff --git a/web/theme.css b/web/theme.css
--- a/web/theme.css
+++ b/web/theme.css
@@ -338,7 +338,7 @@
--unreadIndicator-border-primary-default: var(--shades-black-85);
/* Tab */
- --tab-indicator-primary-default: var(--shades-black-85);
+ --tab-indicator-primary-default: var(--shades-black-75);
--tab-indicator-primary-active: var(--violet-dark-100);
--tab-label-primary-default: var(--shades-white-60);
--tab-label-primary-active: var(--shades-white-100);

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 5, 1:49 AM (13 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2615526
Default Alt Text
D10527.diff (2 KB)

Event Timeline