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

feature: Make sidebar items' links full-width #197

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

jonathan-richer
Copy link
Contributor

In the hopes of fixing #196

I only added width: 100% to CSS selector .sidebar-item :first-child to expand the child <a> element.

This make the sidebar links consistent with the sidebar groups which are full-width as well as making it easier to navigate through the pages without having to think how long the title is.

I left the margin-right: auto, but by making the width: 100%, it removes the margin. There may be a situation where it is needed, but it seems very unlikely.

Copy link

cypress bot commented Nov 22, 2023

Passing run #254 ↗︎

0 5 0 0 Flakiness 0

Details:

Merge 859cb58 into 2bc32db...
Project: Wiki Commit: d67c6a676c ℹ️
Status: Passed Duration: 00:26 💡
Started: Nov 22, 2023 6:39 PM Ended: Nov 22, 2023 6:40 PM

Review all test suite changes for PR #197 ↗︎

Copy link
Member

@BreadGenie BreadGenie left a comment

Choose a reason for hiding this comment

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

LGTM
edit: ignore the failing linters. I'll fix them

@BreadGenie BreadGenie linked an issue Nov 22, 2023 that may be closed by this pull request
@BreadGenie BreadGenie merged commit dd9ffe2 into frappe:master Nov 22, 2023
3 of 5 checks passed
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.

style: Make sidebar items link full width
2 participants