diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 8df50323..bad43a82 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -352,15 +352,21 @@ export default function App() { Download -
e.preventDefault()} onDrop={(e) => handleDrop(e, (t) => - setTabs((tabs) => - tabs.map((tab) => - tab.id === active ? { ...tab, xslt: stripParamBlock(t) } : tab, - ), - ) - )}> +
e.preventDefault()} + onDrop={(e) => + handleDrop(e, (t) => + setTabs((tabs) => + tabs.map((tab) => + tab.id === active ? { ...tab, xslt: stripParamBlock(t) } : tab, + ), + ) + ) + } + > diff --git a/frontend/src/style.css b/frontend/src/style.css index 70f22a73..1a7c5b37 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -73,6 +73,12 @@ body, padding: 0.5rem; overflow: hidden; height: 100%; + display: flex; + flex-direction: column; +} + +.editor-area { + flex: 1 1 auto; } .result {