Bug report - layout bug when editing Sensei course lessons
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 333
- Forks
- 127
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 11
Description
Description
When editing a lesson in Sensei, there seems to be something causing the layout to break. I'm not sure if this is a Sensei issue, or a Learn WordPress issue.
Step-by-step reproduction instructions
- Edit a course
- Edit a lesson in a course
- View the layout for the lesson
Expected behaviour
I would expect the editor to display with the same "margins" as other content being edited
Actual behaviour
It does not have any of the spacing of other content being edited, and there appears to be a weird padding or layout element applied on the left of the menu
When I test this on a clean WordPress install with Sensei installed, this does not happen, so it looks like it's a Learn specific customisation that's caused this.
Screenshots or screen recording (optional)
https://user-images.githubusercontent.com/180629/195289104-a38a4198-6fcc-4c8b-b13a-8d3cc6aa22a7.mp4
Environment information
- Brave
- M1 MacBook Pro, with Monterey
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the Sensei course lesson editor and compare it with a clean WordPress install using Sensei. Trace the Learn-specific customization affecting the lesson layout; done means the editor has the same margins as other edited content and no unexpected left padding.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100