Problem
The documentation generated with the autoclass directive for python classes placed in a module with a long import path overflows the wy-nav-content div.
Reproducible Project
https://github.com/federicodabrunzo/render-issue-for-autodoc-generated-class-with-long-import-path/tree/main?tab=readme-ov-file
Error Logs/Results

Expected Results
The <dt> element containing the class import path should not overflow its containing elements.
Environment Info
- Python Version:
3.11.9
- Sphinx Version:
8.1.3
- RTD Theme Version:
3.0.1