Page MenuHomePhabricator

D6977.diff
No OneTemporary

D6977.diff

diff --git a/web/sidebar/community-drawer-item.css b/web/sidebar/community-drawer-item.css
--- a/web/sidebar/community-drawer-item.css
+++ b/web/sidebar/community-drawer-item.css
@@ -5,12 +5,6 @@
padding-bottom: 8px;
}
-.active {
- background-color: var(--active-drawer-item-bg);
- border-top-right-radius: 4px;
- border-bottom-right-radius: 4px;
-}
-
.threadListContainer {
display: flex;
flex-direction: column;
diff --git a/web/sidebar/community-drawer-item.react.js b/web/sidebar/community-drawer-item.react.js
--- a/web/sidebar/community-drawer-item.react.js
+++ b/web/sidebar/community-drawer-item.react.js
@@ -88,10 +88,6 @@
});
const style = React.useMemo(() => ({ paddingLeft }), [paddingLeft]);
- const threadEntry = classnames({
- [css.threadEntry]: true,
- [css.active]: handler.isActive,
- });
const titleStyle = React.useMemo(
() => ({
@@ -103,7 +99,7 @@
return (
<>
<Handler setHandler={setHandler} threadInfo={threadInfo} />
- <div className={threadEntry} style={style}>
+ <div className={css.threadEntry} style={style}>
{itemExpandButton}
<a onClick={handler.onClick} className={css.titleWrapper}>
<ThreadAvatar size="micro" threadInfo={threadInfo} />

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 12:08 PM (17 h, 24 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2699933
Default Alt Text
D6977.diff (1 KB)

Event Timeline