Skip to content

Commit

Permalink
add jp-ThemedContainer to root element
Browse files Browse the repository at this point in the history
  • Loading branch information
dlqqq committed Nov 12, 2024
1 parent 189d54b commit 4e3047c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/jupyter-ai/src/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ export function Chat(props: ChatProps): JSX.Element {
<TelemetryContextProvider telemetryHandler={props.telemetryHandler}>
<UserContextProvider userManager={props.userManager}>
<Box
// Add .jp-ThemedContainer for CSS compatibility in both JL <4.3.0 and >=4.3.0.
// See: https://jupyterlab.readthedocs.io/en/latest/extension/extension_migration.html#css-styling
className="jp-ThemedContainer"
// root box should not include padding as it offsets the vertical
// scrollbar to the left
sx={{
Expand Down

0 comments on commit 4e3047c

Please sign in to comment.