diff --git a/apps/remix-ide/src/app.js b/apps/remix-ide/src/app.js index ffa7bd52b5..1fd8172e6e 100644 --- a/apps/remix-ide/src/app.js +++ b/apps/remix-ide/src/app.js @@ -91,7 +91,6 @@ const css = csjs` flex-direction : row-reverse; width : 320px; overflow : auto; - padding-bottom: 20px; } .highlightcode { position : absolute; diff --git a/apps/remix-ide/src/app/components/panel.js b/apps/remix-ide/src/app/components/panel.js index a7a0e4d968..a3264ea7e4 100644 --- a/apps/remix-ide/src/app/components/panel.js +++ b/apps/remix-ide/src/app/components/panel.js @@ -55,10 +55,8 @@ export class AbstractPanel extends HostPlugin { if (!this.contents[name]) throw new Error(`Plugin ${name} is not yet activated`) // hiding the current view and display the `moduleName` if (this.active) { - console.log({ active: this.active, name }, 'first') this.contents[this.active].style.display = 'none' } - console.log({ active: this.active, name }, 'second') this.contents[name].style.display = 'flex' this.active = name this.renderComponent() diff --git a/apps/remix-ide/src/app/components/side-panel.js b/apps/remix-ide/src/app/components/side-panel.js index 90c0e49c6d..7d8ccad5bf 100644 --- a/apps/remix-ide/src/app/components/side-panel.js +++ b/apps/remix-ide/src/app/components/side-panel.js @@ -2,10 +2,8 @@ import React from 'react' // eslint-disable-line import { AbstractPanel } from './panel' import ReactDOM from 'react-dom' // eslint-disable-line import { RemixUiSidePanel } from '@remix-ui/side-panel' // eslint-disable-line -import { RemixUiAbstractPanel } from '@remix-ui/abstract-panel' import * as packageJson from '../../../../../package.json' // const csjs = require('csjs-inject') -const yo = require('yo-yo') const sidePanel = { name: 'sidePanel', @@ -20,7 +18,6 @@ export class SidePanel extends AbstractPanel { constructor (appManager, verticalIcons) { super(sidePanel) this.appManager = appManager - this.header = yo`
` this.sideelement = this.element // this.sideelement.setAttribute('class', 'panel') this.verticalIcons = verticalIcons diff --git a/libs/remix-ui/side-panel/src/lib/remix-ui-side-panel.tsx b/libs/remix-ui/side-panel/src/lib/remix-ui-side-panel.tsx index b2b49fb788..387cd80e5a 100644 --- a/libs/remix-ui/side-panel/src/lib/remix-ui-side-panel.tsx +++ b/libs/remix-ui/side-panel/src/lib/remix-ui-side-panel.tsx @@ -46,9 +46,14 @@ export function RemixUiSidePanel(props: RemixUiSidePanelProps) { return (
{name}
{dockLink ? () : ''}