Remove unused and duplicated files in js-old (#7082)
* Cleanup v1 build process, application-only * Remove built-in dapps from build (duplicated) * User @parity/api instead of local version * Update references to @parity/abi * Remove unused js-old api/abi folders * Remove duplicated v1 jsonrpc * Cleanup unused routes * Update manifest with wallet image * Update wallet logo * Re-add missing test.sh * Update rpc mocks * Update tests for Providers * Use flex for iframe & status * Additional cleanups (Home screen for embed) * Keep statusbar fixed (and non-overallping with dapps)
This commit is contained in:
@@ -17,7 +17,9 @@
|
||||
|
||||
.application {
|
||||
box-sizing: border-box;
|
||||
margin-top: 2.75em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
|
||||
.logo {
|
||||
top: 0;
|
||||
@@ -38,9 +40,10 @@
|
||||
}
|
||||
|
||||
.container {
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.content {
|
||||
|
||||
@@ -77,6 +77,11 @@ class Application extends Component {
|
||||
|
||||
return (
|
||||
<div className={ styles.application }>
|
||||
{
|
||||
blockNumber
|
||||
? <Status upgradeStore={ this.upgradeStore } />
|
||||
: null
|
||||
}
|
||||
{
|
||||
isMinimized
|
||||
? this.renderMinimized()
|
||||
@@ -99,11 +104,6 @@ class Application extends Component {
|
||||
alwaysHidden
|
||||
dapp={ isMinimized }
|
||||
/>
|
||||
{
|
||||
blockNumber
|
||||
? <Status upgradeStore={ this.upgradeStore } />
|
||||
: null
|
||||
}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user