Skip to content

Commit

Permalink
fix(devtools): styles
Browse files Browse the repository at this point in the history
  • Loading branch information
artalar committed Jun 20, 2024
1 parent 3c73f8f commit e0b9cf8
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions packages/devtools/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,17 +157,28 @@ export const connectDevtools = async (
</button>
)

const observableContainer = <div />
const observableContainer = (
<div
css={`
width: 100%;
height: 100%;
overflow: auto;
`}
/>
)

const containerEl = (
<div
css={`
position: fixed;
bottom: 0;
right: 0;
padding-top: 2em;
width: var(--width);
height: var(--height);
z-index: ${MAX_Z};
background: hsl(244deg 20% 90%);
overflow: auto;
`}
css:width={width}
css:height={height}
Expand All @@ -184,7 +195,8 @@ export const connectDevtools = async (
{observablehqStyles.replaceAll(':root', '.observablehq')}
{`
.observablehq {
margin: 2rem;
margin: 1rem;
margin-top: 0em;
}
.observablehq--inspect {
Expand Down

0 comments on commit e0b9cf8

Please sign in to comment.