Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused placeholder prop on RoomDropTarget #3741

Merged
merged 1 commit into from Apr 26, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 6 additions & 14 deletions src/components/views/rooms/RoomDropTarget.js
Expand Up @@ -22,20 +22,12 @@ module.exports = React.createClass({
displayName: 'RoomDropTarget',

render: function() {
if (this.props.placeholder) {
return (
<div className="mx_RoomDropTarget mx_RoomDropTarget_placeholder">
return (
<div className="mx_RoomDropTarget">
<div className="mx_RoomDropTarget_label">
{ this.props.label }
</div>
);
}
else {
return (
<div className="mx_RoomDropTarget">
<div className="mx_RoomDropTarget_label">
{ this.props.label }
</div>
</div>
);
}
</div>
);
}
});
Expand Up @@ -33,11 +33,6 @@ limitations under the License.
margin-left: 10px;
}

.mx_RoomDropTarget_placeholder {
padding-top: 1px;
padding-bottom: 1px;
}

.mx_RoomDropTarget_label {
position: relative;
margin-top: 3px;
Expand Down