-
Hi! I am trying to replicate what I did in one of my projects with a different theme, namely, the top borders for autodocumented methods. Example: link In that project, I achieved this via the following css: link However, in Furo, it looks like in the attached screenshot. Should this be fixed on Furo side or on my side? In the latter case, I would appreciate if someone points to specific properties I should change so that I don't break things on other devices. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can explicitly set I do have it on my TODO to revisit how Furo handle API wrapping given sphinx-doc/sphinx#11011, but it's a really long list -- I don't wanna give you false hope that I'd get to this anytime soon; I don't know even what the "right" behaviours should be at this point. 😅 |
Beta Was this translation helpful? Give feedback.
You can explicitly set
text-indent: 0
while using a CSS selector with a higher specificity than what Furo uses. That's a no-op if Furo ever changes behaviors and drops the indent, so it should be OK. (I'm assuming you've seen the "Unstable" banner in https://pradyunsg.me/furo/customisation/injecting/)I do have it on my TODO to revisit how Furo handle API wrapping given sphinx-doc/sphinx#11011, but it's a really long list -- I don't wanna give you false hope that I'd get to this anytime soon; I don't know even what the "right" behaviours should be at this point. 😅