Closed Andrewp2 closed 7 months ago
Disabling overflow-wrap: break-word;
or display: table-row;
seems to fix the issue on the doc
It seems like somewhat of a tough situation, the docs are this way do to some exceptionally long type names PaymentFlowsPrivatePaymentMethodsCardDetailsApiResourceEnterpriseFeaturesIncrementalAuthorizationIncrementalAuthorization which we don't have a huge amount of control over, we can modify the CSS using --extend-css when using rustdoc but I don't know if docs.rs has a way to do that.
On mobile they wrap correctly so it seems like one of rustdoc's media queries for desktop is not built ideally. I don't want to do anything regarding trying to collapse the names as we use the types verbatim from stripe so my best suggestion is we open an issue with rustdoc. If you'd like to open one please link back to this issue.
I'll investigate overriding css on docs.rs in the meantime.
For now, here's a quick bookmarklet that will make it readable:
javascript:(function() { var style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = '.item-table > li > div { display: inherit !important; }'; document.head.appendChild(style); })();
Thanks for opening that issue and the owrkaround.
I think I will close this issue, since there is not much more we can do here. Thanks again for opening another ticket upstream.
Describe the bug
Text is vertical
To Reproduce
Expected behavior
Text should be horizontal
Code snippets
No response
OS
Windows
Rust version
N/A
Library version
async-stripe 0.31.0
API version
2023-10-16
Additional context
No response