Comments (4)
Hey @dchisolm,
To fix this issue you have to:
- adjust the breakpoints in the
theme.ts
so the responsive view is enabled earlier, I think you can use the following value:
breakpoints: {
small: '550px',
medium: '1550px',
}
- enable
wordBreak
for code blocks intheme.ts
:
typography: {
// ...
code: {
wordBreak: 'break-word',
}
}
Let us know if those suggestions helped. Thanks!
from developer-portal-starter.
https://preview.redoc.ly/cpanel/DUCK-4812/openapi/whm/operation/createacct/
We reviewing this now. We did do some previous work with breakpoints, but determined it less than ideal. Primarily I think this was because with this, even on MDPI laptop screens, it is forced into more of what we would expect on tablet landscape rather than a full view on these devices. This layout then becomes default for all API's, even if just one or two have the issue.
One other alternate that was promising was modification of some table styles, but this required an additional workaround to get the paramter name to not overlap, which needs a little more work.
https://preview.redoc.ly/cpanel/DUCK-4743/openapi/whm/operation/createacct/
table {
table-layout: fixed;
}
/* workaround for overlapping parameter names with the table style */
td > div > div {
padding: 1em 0 0 0;
}
Is there a way we can affect this, specifically for the parameter name column, in the computed styles?
from developer-portal-starter.
@dchisolm is it still relevant?
from developer-portal-starter.
I think this one was solved. Please reopen @dchisolm if I am wrong.
from developer-portal-starter.
Related Issues (20)
- How to access nested nav items? HOT 3
- Feature Request - Add CSS classes for styling HOT 8
- Components in nav allowed?
- OpenApiTryIt component shows "Incorrect definitionId" error HOT 5
- Unable to use UI components (OpenApiCodeSample) when using LandingLayout page template in .mdx file HOT 2
- How to access route changes? HOT 1
- Default logout functionality appends [object, object] to the end of the url causing 404 page on logout HOT 1
- bug: uninformative error messages
- Incorrect error messages: existing files "Could not find" HOT 5
- Cannot find module '@redocly/ui' HOT 5
- i18n HOT 1
- `yarn start` throws error on `\node_modules\yoga-layout-prebuilt\yoga-layout\build\Release\nbind.js:53` HOT 1
- Feature Request: Customize toc HOT 2
- Error parsing assets folder: Unexpected token < in JSON HOT 3
- The build command fails with zero information on errors HOT 1
- creating running via dockerfile HOT 1
- Can we add more syntax highlighting options? HOT 3
- Doubt remove first page HOT 2
- Doubt change nav gradient color theme HOT 1
- Deploying developer-portal-starter to Redocly HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from developer-portal-starter.