Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

problem with rendering style: datatables when max-width of a page is changed. #1174

Closed
sembooooo opened this issue May 8, 2024 · 2 comments

Comments

@sembooooo
Copy link

Hi ,
I am again back to sphinx needs from another company 😁.
Its been very long time @twodrops and @danwos .How are you ?

I have modified the width of the page using the below

.wy-nav-content {
    max-width: 900px 
}

The below is rendering as shown in the pic.

.. needtable::
   :style: datatables
   :status: open

image

If I change the max-width to 1200 then its looks like below
image

Could you please help me by providing a resolution ?
thank you very much.

@twodrops
Copy link
Collaborator

twodrops commented May 8, 2024

@sembooooo Nice to hear from you again and glad to see that you are still using sphinx-needs in your new job :)

The issue you mentioned is same as #771.
The fix is still not part of RTD. Meanwhile we (in our project) moved away from RTD and did not follow this up. I somehow thought I haven't seen this issue anymore with the latest RTD versions as well. Maybe I am mistaken.

There seems to be a workaround mentioned here.

@sembooooo
Copy link
Author

Thanks for the answer.
I will close this for now and will reopen this if i have any other problems

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants