Merge branch 'develop' into no-invite-self

This commit is contained in:
Daniel Ternyak 2019-03-18 15:59:49 -05:00 committed by GitHub
commit c3bd058dc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 0 deletions

View File

@ -7,6 +7,9 @@
margin-bottom: 1rem;
&-info {
min-width: 0;
padding-right: 2rem;
&-title {
font-size: 1.2rem;
font-weight: 600;

View File

@ -16,3 +16,20 @@
div.antd-pro-ellipsis-ellipsis {
word-break: break-word;
}
// List items with long content can push the actions aside
.ant-list-item {
overflow: hidden;
.ant-list-item-content,
.ant-list-item-meta,
.ant-list-item-meta-content {
min-width: 0;
}
.ant-list-item-meta-title,
.ant-list-item-meta-description {
overflow: hidden;
text-overflow: ellipsis;
}
}

View File

@ -149,6 +149,10 @@ export function massageSerializedState(state: AppState) {
);
state.proposal.detail.contributionBounty = new BN((state.proposal.detail
.contributionBounty as any) as string);
state.proposal.detail.milestones = state.proposal.detail.milestones.map(m => ({
...m,
amount: new BN((m.amount as any) as string, 16),
}));
if (state.proposal.detail.rfp && state.proposal.detail.rfp.bounty) {
state.proposal.detail.rfp.bounty = new BN(
(state.proposal.detail.rfp.bounty as any) as string,