-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigation List view: Include offcanvas specific styles #45963
Conversation
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for pulling this PR out for us 🙏
It's required because on trunk
the styles for the offcanvas list view weren't being included even though the style.scss
file was in the file tree.
We should be extremely careful and selective about the styles we introduce into this custom file as anything we do may need to be merge back into the core list view later.
packages/block-editor/src/components/off-canvas-editor/style.scss
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm blocking this merge temporarily because I'd like the changes in #45963 (comment) to be actioned prior to merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
height: 36px; | ||
} | ||
|
||
//Styles for off-canvas editor, remove this line when you add some css to this file! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💥
Size Change: 0 B Total Size: 1.3 MB ℹ️ View Unchanged
|
What?
This PR cherry picks a273d65 from #45947 so the new off canvas editor includes its own CSS file
Why?
Originally we were duplicating the list view code and not including the copied scss file. We are cleaning up here and including it.