Page MenuHomePhabricator

D4874.diff
No OneTemporary

D4874.diff

diff --git a/web/SWMansionIcon.react.js b/web/SWMansionIcon.react.js
--- a/web/SWMansionIcon.react.js
+++ b/web/SWMansionIcon.react.js
@@ -302,11 +302,14 @@
+className?: string,
+disableFill?: boolean,
+removeInlineStyle?: boolean,
- +style?: $Shape<CSSStyleDeclaration>,
+};
+
+const iconStyle = {
+ stroke: 'none',
};
function SWMansionIcon(props: SWMansionIconProps): React.Node {
- return <IcomoonReact {...props} iconSet={iconSet} />;
+ return <IcomoonReact {...props} style={iconStyle} iconSet={iconSet} />;
}
export default SWMansionIcon;
diff --git a/web/chat/chat-input-bar.react.js b/web/chat/chat-input-bar.react.js
--- a/web/chat/chat-input-bar.react.js
+++ b/web/chat/chat-input-bar.react.js
@@ -229,7 +229,7 @@
<SWMansionIcon
icon="send-2"
size={22}
- style={{ color: `#${this.props.threadInfo.color}` }}
+ color={`#${this.props.threadInfo.color}`}
/>
</a>
);
@@ -252,7 +252,7 @@
<SWMansionIcon
icon="image-1"
size={22}
- style={{ color: `#${this.props.threadInfo.color}` }}
+ color={`#${this.props.threadInfo.color}`}
disableFill
/>
</a>

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 8, 8:07 PM (21 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2445335
Default Alt Text
D4874.diff (1 KB)

Event Timeline