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

Improvements for the dropdown chevrons #20

Open
amotl opened this issue Aug 8, 2023 · 3 comments
Open

Improvements for the dropdown chevrons #20

amotl opened this issue Aug 8, 2023 · 3 comments

Comments

@amotl
Copy link
Contributor

amotl commented Aug 8, 2023

@msbt suggested at crate/crate-docs-theme#417 (comment):

Quick question about the chevrons you're using for up/down: Wouldn't it be nicer to have only one that turns 180° when you open it instead of two that show/hided depending on the status?

Like

details.sd-dropdown .sd-summary-down {
  transition: 180ms;
}

details.sd-dropdown[open] > .sd-summary-title .sd-summary-down {
  /* visibility: hidden; */
  transform: rotate(-180deg);
}
@amotl
Copy link
Contributor Author

amotl commented Aug 8, 2023

Dear @msbt,

thanks for your suggestion. A proposal for an adjustment like this should probably be directed to https://github.com/executablebooks/sphinx-design instead.

With kind regards,
Andreas.

@msbt
Copy link

msbt commented Aug 8, 2023

@amotl ah alright, I thought that was your thing 😀

@amotl
Copy link
Contributor Author

amotl commented Aug 8, 2023

Dear Matthias,

this humble repository is just building upon the excellent work by @chrisjsewell and contributors on behalf of sphinx-design, whom all credits are due. Unfortunately, I've not made it in time to reach out to them properly yet, and now I am kind of heading to the beaches already. I hope to be able to do it properly after vacation.

With kind regards,
Andreas.

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

No branches or pull requests

2 participants