diff --git a/src/app/components/swap-panel-component.js b/src/app/components/swap-panel-component.js index 485a9027a1..47e0ebb359 100644 --- a/src/app/components/swap-panel-component.js +++ b/src/app/components/swap-panel-component.js @@ -36,7 +36,7 @@ class SwapPanelComponent { this.contents[moduleName].style.display = 'block' this.currentNode = moduleName var api = this.store.getOne(moduleName) - this.header.innerHTML = api.profile ? api.profile.displayName : ' - ' + this.header.querySelector('h6').innerHTML = api.profile ? api.profile.displayName : ' - ' return } } @@ -59,7 +59,7 @@ class SwapPanelComponent {
` - this.header = yo`` + this.header = yo`
` if (!this.opt.displayHeader) this.header.style.display = 'none' return yo`
@@ -77,7 +77,7 @@ const css = csjs` } .plugItIn { display : none; - height : 100%; + height: calc(100% - 50px); } .plugItIn > div { overflow-y : auto; @@ -91,4 +91,12 @@ const css = csjs` height: 100%; overflow-y: hidden; } + .swapitTitle { + text-transform: uppercase; + } + .swapitHeader { + height: 50px; + padding-top: 16px; + padding-left: 27px; + } `