sensei
sensei copied to clipboard
Toggle focus mode covers a fragment on the upper block
Steps to Reproduce
- Enable Lerning Mode.
- Create a test course, module, and lesson.
- See newly created lesson on the frontend.
- Click the "Edit site" button on the top admin bar
- Move the "Contact Teacher" button and "Exit course" link column block to the top.
- Change background color of the column block.
- Reload Learning mode test lesson.
What I Expected
Toggle focus mode not covering the column block or changed to the color I selected for the column block.
What Happened Instead
Toggle focus mode covers the column block with the color established in the Customizer.
PHP / WordPress / Sensei LMS version
PHP 7.4.27 WordPress 5.9 Sensei LMS 4.0.1
Browser / OS version
Chrome Version 98.0.4758.80
Screenshot / Video
https://user-images.githubusercontent.com/77755259/153476671-9b889b5e-f5a7-475a-895c-81db6095cf15.mov
Context / Source
4761282 - zen
Related to #4732
Linked to #4587
Should be fixed by #4939, released as part of Sensei 4.6.2. Note that adding a Spacer block there could still be necessary to prevent the toggle from overlapping content.