Thanks to Stuart Wilkins much of the EPICS areaDetector documentation has been converted from raw HTML to ReST, using Sphinx to generate Web pages on areadetector.github.io.
Â
Â
  .wy-table-responsive {
     overflow: visible !important;
  }
} Much of the documentation is in the form of large tables, and I would like those to look as nice as possible. Stuart created a theme_override.css file that looks like this:
Â
/* override table width restrictions */
@media screen and (min-width: 1024px) {
Â
  .wy-table-responsive table td {
     /* !important prevents the common CSS stylesheets from overriding
        this as on RTD they are loaded after this stylesheet */
     white-space: normal !important;
  }
Â
Â
I am having an issue where the tables look good when I build and serve the documents on my local machine, but they do not look as good on github.io. The problem is the maximum width of the page.Â
Â
This is what a page looks like when I build and display on my local machine, where it looks OK. As I increase the width of the browser window the page gets larger up to some width, and then stops changing. When I change the min-width in the theme_override.css it does not seem to make any difference.
Â
Â
This is what the same page looks like on areadetector.github.io. I am displaying it in the same browser session, just a different tab. Note that the page is much narrower, even though the browser window is the same width.
Â
Â
Â
Â
My questions:
Â
Thanks,
Mark
--
You received this message because you are subscribed to the Google Groups "sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/e62c420a-7398-4d91-8442-80d77995fb83%40googlegroups.com.
--
To unsubscribe from this group and stop receiving emails from it, send an email to sphinx...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to sphinx...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/90847885-3abc-41ad-b41a-897145c759bf%40googlegroups.com.