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

CSS issues with todays release of sphinx_rtd_theme==1.1.0 #1784

Closed
rocco8773 opened this issue Nov 2, 2022 · 2 comments · Fixed by #1785
Closed

CSS issues with todays release of sphinx_rtd_theme==1.1.0 #1784

rocco8773 opened this issue Nov 2, 2022 · 2 comments · Fixed by #1785
Labels
dependencies Related to updating dependency files

Comments

@rocco8773
Copy link
Member

Description

Today's release of sphinx_rtd_theme==1.1.0 has changed the wrapping behavior of links, which is creating a poor display of autosummary tables.

< 1.1.0

image

== 1.1.0

image


This is a result of them adding the following rule to theme.css.

.rst-content p a {
  overflow-wrap: anywhere;
}

I believe this was done in readthedocs/sphinx_rtd_theme#1193.


I don't have an overriding CSS rule yet. Maybe something that does not allow wrapping when the content is code. Not sure.

I think for the time being we should restrict our dependency to sphinx_rtd_theme<1.1.0. @namurphy Thoughts?

@rocco8773
Copy link
Member Author

As of me typing, our latest documentation is not affected since we haven't had any new merged PRs after the new release of sphinx_rtd_theme.

@dolfinus
Copy link

dolfinus commented Nov 4, 2022

Hi.

I've faced the same issue after upgrading to sphinx_rdt_theme==1.1.0, created issue readthedocs/sphinx_rtd_theme#1368

@namurphy namurphy added the dependencies Related to updating dependency files label May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Related to updating dependency files
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants