Make padding only on the prototype tag panel

This commit is contained in:
Travis Ralston 2020-08-26 08:42:26 -06:00
parent c68636bd32
commit 0c67a42b0f
3 changed files with 6 additions and 0 deletions

View file

@ -144,6 +144,7 @@ export default createReactClass({
const isPrototype = SettingsStore.getValue("feature_communities_v2_prototypes");
const className = classNames({
mx_TagTile: true,
mx_TagTile_prototype: isPrototype,
mx_TagTile_selected: this.props.selected && !isPrototype,
mx_TagTile_selected_prototype: this.props.selected && isPrototype,
});

View file

@ -66,6 +66,7 @@ export default class UserTagTile extends React.PureComponent<IProps, IState> {
// TagTile instead if we continue to use this component.
const className = classNames({
mx_TagTile: true,
mx_TagTile_prototype: true,
mx_TagTile_selected_prototype: this.state.selected,
mx_TagTile_home: true,
});