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: change the CSS selector to support mergeNavbar option #28

Merged
merged 1 commit into from
Sep 30, 2021
Merged

fix: change the CSS selector to support mergeNavbar option #28

merged 1 commit into from
Sep 30, 2021

Conversation

hqshi
Copy link
Contributor

@hqshi hqshi commented Sep 28, 2021

In order to make it select right place when mergeNavbar option is true and you view with small width screen. Just like #27

当docsify的小屏模式合并导航栏选项为 true时,原有选择器将会错误的选择到合并进来的导航栏。因此我修改了css选择器选择的类的范围

from '.sidebar li a' to '.sidebar-nav li a'

image

in order to make it select right place when mergeNavbar option is true and you view with small width screen
@imyelo imyelo changed the title change the CSS selector to support mergeNavbar option fix: change the CSS selector to support mergeNavbar option Sep 30, 2021
@imyelo imyelo merged commit ae6150e into imyelo:master Sep 30, 2021
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.

2 participants