1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

finalize contract settings layout

This commit is contained in:
Tim Daubenschütz 2015-09-14 17:38:26 +02:00
parent 209d141939
commit 24f0d84fbc
4 changed files with 79 additions and 87 deletions

View File

@ -95,13 +95,9 @@ let ContractSettings = React.createClass({
return ( return (
<CollapsibleParagraph <CollapsibleParagraph
title={getLangText('Contract Settings')} title={getLangText('Contracts')}
show={true} show={true}
defaultExpanded={true}> defaultExpanded={false}>
<CollapsibleParagraph
title={getLangText('List Contracts')}
show={true}
defaultExpanded={true}>
<CollapsibleParagraph <CollapsibleParagraph
title={getLangText('Public Contracts')} title={getLangText('Public Contracts')}
show={true} show={true}
@ -181,7 +177,6 @@ let ContractSettings = React.createClass({
})} })}
</CollapsibleParagraph> </CollapsibleParagraph>
</CollapsibleParagraph> </CollapsibleParagraph>
</CollapsibleParagraph>
); );
} }
}); });

View File

@ -26,8 +26,6 @@ let SettingsContainer = React.createClass({
<APISettings /> <APISettings />
<BitcoinWalletSettings /> <BitcoinWalletSettings />
<ContractSettings /> <ContractSettings />
<br />
<br />
</div> </div>
); );
} }

View File

@ -59,7 +59,7 @@ let FileDragAndDropPreviewOther = React.createClass({
<div className="file-drag-and-drop-preview-table-wrapper"> <div className="file-drag-and-drop-preview-table-wrapper">
<div className="file-drag-and-drop-preview-other"> <div className="file-drag-and-drop-preview-other">
{actionSymbol} {actionSymbol}
<span>{'.' + this.props.type}</span> <p>{'.' + this.props.type}</p>
</div> </div>
</div> </div>
</div> </div>

View File

@ -25,8 +25,7 @@
border: 0; border: 0;
width: 100%; width: 100%;
/* Shrink the size of the headline for a nested element */ .ascribe-collapsible-wrapper {
.ascribe-collapsible-wrapper > .ascribe-collapsible-content {
padding-left: 1em; padding-left: 1em;
font-size: 95%; font-size: 95%;
} }