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

Fix multiple minor styling issues #191

Merged
merged 1 commit into from
Aug 18, 2022
Merged

Conversation

lb-
Copy link
Member

@lb- lb- commented Aug 17, 2022

Resolve a range of small styling issues across the documentation

@lb-
Copy link
Member Author

lb- commented Aug 17, 2022

Once this is adopted in Wagtail core in the future - we can remove some of the styling overrides in Wagtail docs.

https://github.com/wagtail/wagtail/blob/cc4675aa5ed41ffde68960fa697b3e3e682d71fc/docs/_static/css/custom.css#L1-L10

@lb- lb- changed the title Fix/multiple styling fixes Fix multiple minor styling issues Aug 17, 2022
@@ -12,5 +12,5 @@ logo_height = 59
logo_url = /
logo_width = 45
header_links =
footer_links = Features|https://wagtail.io/features/, About Wagtail|https://wagtail.io/about-wagtail/, Services|https://wagtail.io/services/, Blog|https://wagtail.io/blog/, Packages|https://wagtail.io/packages/, Developers|https://wagtail.io/developers/
footer_links = Features|https://wagtail.org/features/, About Wagtail|https://wagtail.org/about-wagtail/, Services|https://wagtail.org/services/, Blog|https://wagtail.org/blog/, Packages|https://wagtail.org/packages/, Developers|https://wagtail.org/developers/
Copy link
Contributor

Choose a reason for hiding this comment

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

I would think the default here should be empty, and move these footer_links to Wagtail core's docs/conf.py

@lb-
Copy link
Member Author

lb- commented Aug 17, 2022

looks like I've accidentally included the links fixes in this PR also - will fix it up.

- fix gap after content within admonitions, avoid styling every last element inside, only the container - fixes wagtail#107
- use variable for the max-width of the version picker (300px on bootstrap variables)
- add layout scss to fix some global style issues (already on Wagtail core)
- add .sidebar-container so that we can have a max width on navbar - fixes wagtail#99
- use .sidebar-container to allow for border-right on larger devices to match designs - fixes wagtail#59
- resolve styling issues with sidebar container & overflow scroll - fixes wagtail#190
- avoid using coded styles when bootstrap utility classes are suitable in the sidebar & search box
- add high contrast focus outline to focusable (tabbable) elements - fixes wagtail#23
@lb- lb- force-pushed the fix/multiple-styling-fixes branch from 8954073 to 20354f9 Compare August 17, 2022 22:57
@vsalvino
Copy link
Contributor

These changes look good to me. I haven't pulled the branch and rendered it, but noticed some of the same issues while poking around for other features.

@lb-
Copy link
Member Author

lb- commented Aug 18, 2022

Thanks - re-validated again and will merge this in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants