From f37067c59bdfc7a4e0db2fbb0c9b882f14396f0d Mon Sep 17 00:00:00 2001 From: Rob Stupay Date: Fri, 22 Mar 2019 16:31:40 +0100 Subject: [PATCH] bootstrap_swapit_header --- src/app/components/swap-panel-component.js | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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; + } `