Skip to content

Commit

Permalink
2024 Theme: Further improvements to lesson action buttons layout
Browse files Browse the repository at this point in the history
Use a flex layout to fix issues with inconsistent styles loading
  • Loading branch information
adamwoodnz committed Jul 26, 2024
1 parent 6610a0d commit 8c8bbee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions wp-content/themes/pub/wporg-learn-2024/src/style/_sensei.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,14 @@ body.sensei {

&.single-lesson {
.sensei-lesson-footer .sensei-buttons-container {
margin: unset;
display: flex;
gap: var(--wp--preset--spacing--10);

> *,
.sensei-buttons-container__button-block {
padding: unset;
}
}

// Hide the Lesson title breadcrumb as it's already displayed in the h1, and the leading slash.
Expand Down

0 comments on commit 8c8bbee

Please sign in to comment.