diff --git a/packages/notebook-extension/style/base.css b/packages/notebook-extension/style/base.css index 0dedb07d5c..4ba6594771 100644 --- a/packages/notebook-extension/style/base.css +++ b/packages/notebook-extension/style/base.css @@ -36,6 +36,7 @@ body[data-notebook='notebooks'] .jp-WindowedPanel-outer { body[data-notebook='notebooks'] .jp-WindowedPanel-inner { margin-top: var(--jp-notebook-toolbar-margin-bottom); + max-width: var(--jp-notebook-max-width); } body[data-notebook='notebooks'] .jp-Notebook-cell { diff --git a/ui-tests/test/general.spec.ts-snapshots/notebook-chromium-linux.png b/ui-tests/test/general.spec.ts-snapshots/notebook-chromium-linux.png index 0f4e8ce461..62adc49606 100644 Binary files a/ui-tests/test/general.spec.ts-snapshots/notebook-chromium-linux.png and b/ui-tests/test/general.spec.ts-snapshots/notebook-chromium-linux.png differ diff --git a/ui-tests/test/general.spec.ts-snapshots/notebook-firefox-linux.png b/ui-tests/test/general.spec.ts-snapshots/notebook-firefox-linux.png index 95d2909e1a..5063ec6cb9 100644 Binary files a/ui-tests/test/general.spec.ts-snapshots/notebook-firefox-linux.png and b/ui-tests/test/general.spec.ts-snapshots/notebook-firefox-linux.png differ