Update styling
This commit is contained in:
parent
501c7369b0
commit
68efa70977
@ -19,5 +19,5 @@
|
||||
}
|
||||
|
||||
.layout>div {
|
||||
padding-bottom: 0.25em;
|
||||
padding-bottom: 0.75em;
|
||||
}
|
||||
|
@ -32,12 +32,12 @@
|
||||
}
|
||||
|
||||
.overlay {
|
||||
background: rgba(255, 255, 255, 0.75);
|
||||
bottom: 0;
|
||||
background: rgba(50, 50, 50, 0.85);
|
||||
bottom: 0.5em;
|
||||
left: -0.25em;
|
||||
position: absolute;
|
||||
right: -0.25em;
|
||||
top: 0;
|
||||
top: -0.25em;
|
||||
z-index: 100;
|
||||
padding: 1em;
|
||||
}
|
||||
|
@ -59,9 +59,9 @@ export default class Dapps extends Component {
|
||||
] }
|
||||
/>
|
||||
<Page>
|
||||
{ this.renderList(this.store.sortedLocal) }
|
||||
{ this.renderList(this.store.sortedBuiltin) }
|
||||
{ this.renderList(this.store.sortedNetwork, externalOverlay) }
|
||||
{ this.renderList(this.store.visibleLocal) }
|
||||
{ this.renderList(this.store.visibleBuiltin) }
|
||||
{ this.renderList(this.store.visibleNetwork, externalOverlay) }
|
||||
</Page>
|
||||
</div>
|
||||
);
|
||||
|
@ -60,6 +60,18 @@ export default class DappsStore {
|
||||
return this.apps.filter((app) => this.displayApps[app.id] && this.displayApps[app.id].visible);
|
||||
}
|
||||
|
||||
@computed get visibleBuiltin () {
|
||||
return this.visibleApps.filter((app) => app.type === 'builtin');
|
||||
}
|
||||
|
||||
@computed get visibleLocal () {
|
||||
return this.visibleApps.filter((app) => app.type === 'local');
|
||||
}
|
||||
|
||||
@computed get visibleNetwork () {
|
||||
return this.visibleApps.filter((app) => app.type === 'network');
|
||||
}
|
||||
|
||||
@action openModal = () => {
|
||||
this.modalOpen = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user