Commit 508a9a6f authored by yann300's avatar yann300

fix scrollbar on swap panel

parent 9b340d79
......@@ -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;
}
`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment