Skip to content
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

Course theme: Horizontal scroll bar and extra spacing/margin/padding on a course page #8334

Open
philipsiwinski opened this issue Nov 2, 2024 · 1 comment
Labels
[Pri] High [Status] Priority Review Triggered KitKat has been notified of this issue in #dotcom-triage-alerts Triaged [Type] Bug Something isn't working

Comments

@philipsiwinski
Copy link

Quick summary

On a WordPress site using the Course theme, when visiting a course created with the Sensei LMS plugin, there is a horizontal scroll bar and too much space on the right.

Steps to reproduce

  1. Go to the Sensei LMS Demo Site (or any WP with Sensei LMS and the Course theme)
  2. Click on any course (try /course/sensei-101/)
  3. See a horizontal scroll bar and extra padding on the right

A clear and concise description of what you expected to happen.

No horizontal scroll bar, no extra space

What actually happened

A horizontal scroll bar extra padding on the right, on any course page
Image
Image

Impact

All

Available workarounds?

Yes, difficult to implement

If the above answer is "Yes...", outline the workaround.

Open /wp-admin/theme-editor.php?file=theme.json&theme=course
Search for: "right": "1.25rem",
Replace "right": "1.25rem", by "right": "0rem",
Replace "left": "1.25rem" by "left": "0rem"
Save the changes

Image

Platform (Simple and/or Atomic)

No response

Logs or notes

PHP 8.1.20
WordPress 6.6.2
Sensei LMS 4.24.3
Course theme 1.3.9

@philipsiwinski philipsiwinski added [Type] Bug Something isn't working Needs triage labels Nov 2, 2024
@github-actions github-actions bot added [Status] Priority Review Triggered KitKat has been notified of this issue in #dotcom-triage-alerts [Pri] High labels Nov 2, 2024
@Robertght
Copy link

📌 REPRODUCTION RESULTS

  • Tested on Atomic – Replicated
  • Replicable outside of Dotcom – Yes

📌 ACTIONS

  • Triaged
  • Leaving this as a high priority

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Pri] High [Status] Priority Review Triggered KitKat has been notified of this issue in #dotcom-triage-alerts Triaged [Type] Bug Something isn't working
Projects
Development

No branches or pull requests

2 participants