Unable to swizzle sidebar category caret icon
See original GitHub issueEdited by @slorber, see https://github.com/facebook/docusaurus/issues/7902#issuecomment-1209598343
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Prerequisites
- I’m using the latest version of Docusaurus.
- I have tried the
npm run clear
oryarn clear
command. - I have tried
rm -rf node_modules yarn.lock package-lock.json
and re-installing packages. - I have tried creating a repro with https://new.docusaurus.io.
- I have read the console error message carefully (if applicable).
Description
Changing the size of the IconArrow doesn’t reflect on site.
Reproducible demo
No response
Steps to reproduce
- Swizzle IconArrow
- Change size of svg Width and height
- IconArrow doesn’t resize
Expected behavior
Expected IconArrow to resize according to size set in index.js
Actual behavior
Nothing, no change.
Your environment
- Public source code:
- Public site URL:
- Docusaurus version used:
- Environment name and version (e.g. Chrome 89, Node.js 16.4):
- Operating system and version (e.g. Ubuntu 20.04.2 LTS):
Self-service
- I’d be willing to fix this bug myself.
Issue Analytics
- State:
- Created a year ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
bootstrap sidebar can't get selected item caret icon to rotate by ...
I am trying to create a sidebar with pages hidden under expandable items. If you click the 'contact' item in my example the...
Read more >@docusaurus/plugin-debug | Yarn - Package Manager
Fix search bar focus bug. When you put the focus on search input, previously the focus will remain although we have clicked to...
Read more >Sidebar - Docusaurus
This is a sidebars file that exports one sidebar, called mySidebar . It has three top-level items: two categories and one external link....
Read more >Source - GitHub
... forward doc frontMatter.sidebar_custom_props to linking sidebar category ... [#7739](https://github.com/facebook/docusaurus/pull/7739) docs: swizzle ...
Read more >Untitled
Moliga family tree, Liliencup facebook, Micro pixel hd, Wind energy icon? ... Disable caret browsing ie9, Junior data scientist resume, Cliff kucine, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have a very fancy solution—we can automatically wrap every component when we build our own site, and use a switch on our site which, when enabled, displays a tooltip of the component’s name when you hover over every region.
It’s actually hard currently, and I’ve been thinking about what we can do. You would need to eject some higher-level components first, and see what subcomponents they each render. Ref. our docs:
At the bare minimum we need to improve the component description. The current one is basically gibberish: