fix scrollbar on swap panel

pull/1/head
yann300 6 years ago
parent 9b340d7952
commit 508a9a6ff8
  1. 7
      src/app/components/swap-panel-component.js

@ -67,7 +67,7 @@ class SwapPanelComponent {
this.header = yo`<header class="navbar navbar-dark bg-dark text-warning"><h2 class="navbar-brand"></h2> </header>`
if (!this.opt.displayHeader) this.header.style.display = 'none'
return yo`<div>
return yo`<div class=${css.pluginsContainer}>
${this.header}
${this.view}
</div>`
@ -79,7 +79,6 @@ module.exports = SwapPanelComponent
const css = csjs`
.plugins {
height : 100%;
overflow-y : auto;
}
.plugItIn {
display : none;
@ -88,4 +87,8 @@ const css = csjs`
.plugItIn.active {
display : block;
}
.pluginsContainer {
height: 100%;
overflow-y: hidden;
}
`

Loading…
Cancel
Save