Commit 508a9a6f authored by yann300's avatar yann300

fix scrollbar on swap panel

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