diff --git a/apps/doc-viewer/src/app/App.tsx b/apps/doc-viewer/src/app/App.tsx index 6052af9393..bf81085d69 100644 --- a/apps/doc-viewer/src/app/App.tsx +++ b/apps/doc-viewer/src/app/App.tsx @@ -15,11 +15,12 @@ export default function App() { const edit = () => { if (!client.mdFile) return client.call('fileManager', 'open' as any, client.mdFile) + client.call('fileManager', 'switchFile' as any, client.mdFile) //@TODO check why this doesn't work } return ( <> -
- +
+
diff --git a/apps/remix-ide/src/app/components/panel.ts b/apps/remix-ide/src/app/components/panel.ts index 9c3d169033..025cd8e14b 100644 --- a/apps/remix-ide/src/app/components/panel.ts +++ b/apps/remix-ide/src/app/components/panel.ts @@ -29,7 +29,7 @@ export class AbstractPanel extends HostPlugin { view: view, active: false, pinned: false, - class: 'plugItIn active pb-2' + class: 'plugItIn active ' + (profile.location === "sidePanel" ? 'pb-2' : ''), } } diff --git a/apps/remix-ide/src/app/plugins/vyper-compilation-details.tsx b/apps/remix-ide/src/app/plugins/vyper-compilation-details.tsx index 5d3893aa75..72a0d1c2e2 100644 --- a/apps/remix-ide/src/app/plugins/vyper-compilation-details.tsx +++ b/apps/remix-ide/src/app/plugins/vyper-compilation-details.tsx @@ -142,7 +142,7 @@ export class VyperCompilationDetailsPlugin extends ViewPlugin { } render() { return ( -
+
) diff --git a/apps/remix-ide/src/remixAppManager.js b/apps/remix-ide/src/remixAppManager.js index 87a5d935c1..a8fc8c4de1 100644 --- a/apps/remix-ide/src/remixAppManager.js +++ b/apps/remix-ide/src/remixAppManager.js @@ -86,7 +86,10 @@ let requiredModules = [ 'environmentExplorer', 'templateSelection', 'matomo', - 'walletconnect' + 'walletconnect', + 'popupPanel', + 'remixAI', + 'remixAID' ] // dependentModules shouldn't be manually activated (e.g hardhat is activated by remixd) @@ -415,10 +418,12 @@ class PluginLoader { 'environmentExplorer', 'templateSelection', 'compilationDetails', + 'vyperCompilationDetails', 'walletconnect', 'dapp-draft', 'solidityumlgen', - 'remixGuide' + 'remixGuide', + 'doc-viewer' ] this.loaders = {} this.loaders.localStorage = { diff --git a/apps/vyper/src/app/app.css b/apps/vyper/src/app/app.css index afa29cbf67..75fa83eef4 100644 --- a/apps/vyper/src/app/app.css +++ b/apps/vyper/src/app/app.css @@ -73,7 +73,6 @@ html, body, #root, main { justify-content: space-evenly; } - #result nav a { padding: 0.5rem 1rem; font-size: 0.8rem; @@ -84,6 +83,7 @@ html, body, #root, main { width: 100%; padding: 15px; overflow: auto; + height: 100%; } #result .tab-pane.active { @@ -91,6 +91,7 @@ html, body, #root, main { display: flex; flex-direction: column; align-items: stretch; + background-color: var(--body-bg); } #result .copy { @@ -114,8 +115,6 @@ html, body, #root, main { width: 100%; } - - .remixui_copyButton { padding: 6px; font-weight: bold; @@ -222,8 +221,6 @@ html, body, #root, main { } #compileDetails { - margin: 15px; - padding: 15px; } .cursor-status { diff --git a/apps/vyper/src/app/app.tsx b/apps/vyper/src/app/app.tsx index ff9539b958..92c4c1c7a1 100644 --- a/apps/vyper/src/app/app.tsx +++ b/apps/vyper/src/app/app.tsx @@ -122,14 +122,14 @@ const App = () => {
- +
@@ -137,11 +137,11 @@ const App = () => {
- +
-
+
@@ -185,7 +185,7 @@ const App = () => {
- + Specify the{' '} compiler version diff --git a/apps/vyper/src/app/components/VyperResult.tsx b/apps/vyper/src/app/components/VyperResult.tsx index 4b2775c9d0..1931c2588c 100644 --- a/apps/vyper/src/app/components/VyperResult.tsx +++ b/apps/vyper/src/app/components/VyperResult.tsx @@ -59,7 +59,7 @@ function VyperResult({ output, plugin }: VyperResultProps) { return ( <>
-
) }