-
Notifications
You must be signed in to change notification settings - Fork 28
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
classes table doesn't take the full width of the article #288
Comments
If you mean the table width being adaptive to its contents, then yes, that is expected. |
ok I'll find the appropriate css selector to change it in custom.css and post it here before closing the issue. |
Tried doing this already... Found that removing Please also remember, the Material design rules are fundamental to this theme (and its upstream source in mkdocs). |
Glad to see you got it working. I wouldn't call this a wanted feature. Most of our CSS (& JS) is from upstream mkdocs-material, and we try to keep the changes minimal to make merging in updates from upstream easier. Since your workaround is more specific to autosummary (something autoapi probably uses underneath), I think what you were expecting is how auto-summary works for other themes that actually use Sphinx basic theme's CSS (this theme is an exception to that assumption). If you think it necessary that the autosummary tables should be absolutely wide, then I think there may be a place for that after: sphinx-immaterial/src/assets/stylesheets/main/_api.scss Lines 273 to 283 in 22fd15f
BTW: we're the reason that autosummary tables have their own CSS class 😉. So the above SCSS rule could be updated now that they've released that change. |
I was doubting so I check the template I'm maintaining (pydata-sphinx-theme) and yes, the autosummary tables are taking the full width of the page (https://pygadm.readthedocs.io/en/stable/api/pygadm/index.html#package-contents). |
Like I said, there's room for autosummary-specific changes in src/assets/stylesheets/main/_api.scss. |
I have some small classes in my project with very short descriptions. When using immaterial along with autoapi, the classes table get reduce making it inconsistent with the Functions one:
Is it wanted ?
The text was updated successfully, but these errors were encountered: