Skip to content

Commit

Permalink
use "plot" as classname for observable things
Browse files Browse the repository at this point in the history
  • Loading branch information
plmrry committed Feb 13, 2024
1 parent ba693d4 commit 7f9ebbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions flatfront/src/components/PlotHelpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ export function get_observable_options(
const width = 700;
const height = width / aspect;
const base: Plot.PlotOptions = {
className: `plot`,
marginLeft: 60,
marginBottom: 50,
width,
Expand Down
2 changes: 1 addition & 1 deletion flatfront/src/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
--input: 0 0% 14.9%;
--ring: 0 0% 83.1%;

svg g[aria-label="tip"] {
svg.plot g[aria-label="tip"] {
fill: hsl(var(--background));
}
}
Expand Down

0 comments on commit 7f9ebbb

Please sign in to comment.