diff --git a/frontend/app/view/plotview.less b/frontend/app/view/plotview.less index e69de29bb..a1e0e161a 100644 --- a/frontend/app/view/plotview.less +++ b/frontend/app/view/plotview.less @@ -0,0 +1,19 @@ +.plot-view { + width: 100%; + + .plot-window { + display: flex; + justify-content: center; + } + + .plot-config { + width: 100%; + margin: 0; + padding: 0; + resize: none; + max-height: 40%; + height: auto; + background-color: var(--panel-bg-color); + color: var(--main-text-color); + } +} diff --git a/frontend/app/view/plotview.tsx b/frontend/app/view/plotview.tsx index 59bb2222b..32f758df4 100644 --- a/frontend/app/view/plotview.tsx +++ b/frontend/app/view/plotview.tsx @@ -2,6 +2,8 @@ import * as React from "react"; import * as Plot from "@observablehq/plot"; import * as d3 from "d3"; +import "./plotview.less"; + function PlotWindow() { return
; } @@ -91,10 +93,14 @@ function PlotView() { }, [plotDef]); return ( -
- ß +
-