Skip to content

fix: align sidebar lesson labels with chapter labels (#217) - #229

Open
bhushan4work wants to merge 1 commit into
json-schema-org:mainfrom
bhushan4work:fixes#217
Open

bhushan4work wants to merge 1 commit into
json-schema-org:mainfrom
bhushan4work:fixes#217

Conversation

@bhushan4work

Copy link
Copy Markdown

Closes #217

  • Updated .stepItem padding-left from 16px to 28px so lesson labels align with chapter labels.
  • Updated .activeStep padding-left to 26px to account for its 3px active border.

What kind of change does this PR introduce?

Bugfix.

Issue Number:

Screenshots/videos:

The sidebar lesson labels are now aligned consistently with the chapter labels.

If relevant, did you update the documentation?

Not applicable.

Summary

Fixes the sidebar subsection alignment issue by adjusting the horizontal padding of lesson items so their labels align with the surrounding chapter labels, including active lessons.

Does this PR introduce a breaking change?

No.

…#217)

Closes json-schema-org#217

- .stepItem padding-left 16px -> 28px so lesson text starts at the same
  x-offset as chapter labels (33 margin + 1 border + 28 = 62px)
- .activeStep padding-left 26px to compensate its 3px active border
@bhushan4work

Copy link
Copy Markdown
Author

@michaelmior I would like u to review my pr for this ui fix , lemme know if any further fix is needed . thank you

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix alignment issue for sidebar subsection labels

1 participant