Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Ensure block canvas fills its parent container width
This resolves a regression introduced from changes in the following PR.
Ideally we resolve this issue in Gutenberg core, rather than overriding
the styles within GutenbergKit.

WordPress/gutenberg#66706
  • Loading branch information
dcalhoun committed Jan 29, 2025
commit d7761943f0efb0bbdf6d6b4a1b54028d5b10c7a7
5 changes: 5 additions & 0 deletions src/components/visual-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
// Remove outline to mirror default user agent styles for body elements, which
// is the element used for Gutenberg's iframed editor
outline: none;
// TODO: Ideally we resolve this in Gutenberg core. Ensures the styles wrapper
// fills its parent container.
//
// See: https://github.com/WordPress/gutenberg/pull/66706
width: 100%;
}

// Apply root level padding for themes that do not use the experimental
Expand Down