-
I want to place the navigation arrow icon to the left of the navigation list item . By default, it is displayed to the right. Some of the headings with these icons are not clickable and only work as containers for the headings of the lower level, and some are clickable and display the content of the corresponding index.md file. I want the icon move to be applied in both cases. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi, I am happy to try and help but may need more information. Can I look at what navigation and what arrows you are talking about? I searched the Material for MkDocs documentation for "arrow" but only found unrelated stuff - I think. A screenshot that shows the current behavior might suffice but a minimal reproduction of the behavior would be ideal. One question to look at is whether the underlying generated HTML allows for the wanted change to be implemented simply with CSS, in which case a simple extra bit of CSS might be sufficient. |
Beta Was this translation helpful? Give feedback.
-
This CSS does what you asked for: .md-nav__link {
flex-direction: row-reverse;
}
.md-nav__link .md-ellipsis {
flex-grow: 1;
} ![]() |
Beta Was this translation helpful? Give feedback.
This CSS does what you asked for: