Skip to content

Update _sensei.scss#2098

Merged
adamwoodnz merged 4 commits intoWordPress:trunkfrom
cynthianorman:trunk
Jan 8, 2024
Merged

Update _sensei.scss#2098
adamwoodnz merged 4 commits intoWordPress:trunkfrom
cynthianorman:trunk

Conversation

@cynthianorman
Copy link
Contributor

@cynthianorman cynthianorman commented Dec 9, 2023

background color change
PR for #1874

background color change
}
}
.wp-block-sensei-lms-course-results.is-style-default .wp-block-sensei-lms-course-results__module-header:not(.has-background) {
background-color: #eee

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this line ended with a semi-colon (;) in the last? For the consistent code practice according to the file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks - I've updated this

missing semicolon
@jonathanbossenger
Copy link
Collaborator

@adamwoodnz when you have a moment, could you review this, and if you're happy with it, merge it in. Thanks

@jonathanbossenger jonathanbossenger added [Dev] Needs Review Pull request needing a review. [Component] Learn Theme Website development issues related to the Learn theme. labels Dec 14, 2023
Copy link
Contributor

@adamwoodnz adamwoodnz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes look ok to me, other than the whitespace comment.

I can't reproduce this though, completion screens look like this for me:

Screenshot 2024-01-04 at 3 24 00 PM

Has the UI changed with a later Sensei version, or does it need to be a specific course?

Co-authored-by: Adam Wood <1017872+adamwoodnz@users.noreply.github.com>
@cynthianorman
Copy link
Contributor Author

cynthianorman commented Jan 5, 2024

@adamwoodnz the module section divider is what we would like a different background colour for.

Here's a screenshot of what's currently on the production site. Does this help?

Screenshot 2024-01-05 Course Complete Page

Copy link
Contributor

@adamwoodnz adamwoodnz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't reproduce this, but it's such a minor change I'm happy to ship it and @bsanevans and @cynthianorman can verify the fix.

@adamwoodnz adamwoodnz merged commit 8c65f37 into WordPress:trunk Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Component] Learn Theme Website development issues related to the Learn theme. [Dev] Needs Review Pull request needing a review.

5 participants