Merge branch 'develop' into no-invite-self
This commit is contained in:
commit
c3bd058dc6
|
@ -7,6 +7,9 @@
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
&-info {
|
&-info {
|
||||||
|
min-width: 0;
|
||||||
|
padding-right: 2rem;
|
||||||
|
|
||||||
&-title {
|
&-title {
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|
|
@ -16,3 +16,20 @@
|
||||||
div.antd-pro-ellipsis-ellipsis {
|
div.antd-pro-ellipsis-ellipsis {
|
||||||
word-break: break-word;
|
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;
|
||||||
|
}
|
||||||
|
}
|
|
@ -149,6 +149,10 @@ export function massageSerializedState(state: AppState) {
|
||||||
);
|
);
|
||||||
state.proposal.detail.contributionBounty = new BN((state.proposal.detail
|
state.proposal.detail.contributionBounty = new BN((state.proposal.detail
|
||||||
.contributionBounty as any) as string);
|
.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) {
|
if (state.proposal.detail.rfp && state.proposal.detail.rfp.bounty) {
|
||||||
state.proposal.detail.rfp.bounty = new BN(
|
state.proposal.detail.rfp.bounty = new BN(
|
||||||
(state.proposal.detail.rfp.bounty as any) as string,
|
(state.proposal.detail.rfp.bounty as any) as string,
|
||||||
|
|
Loading…
Reference in New Issue