Git Product home page Git Product logo

Comments (4)

RomanHotsiy avatar RomanHotsiy commented on August 26, 2024 1

Hey @dchisolm,

To fix this issue you have to:

  1. 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',
}
  1. enable wordBreak for code blocks in theme.ts:
typography: {
// ...
  code: {
    wordBreak: 'break-word',
  }
}

Let us know if those suggestions helped. Thanks!

from developer-portal-starter.

dchisolm avatar dchisolm commented on August 26, 2024

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.

AntonKozachuk avatar AntonKozachuk commented on August 26, 2024

@dchisolm is it still relevant?

from developer-portal-starter.

adamaltman avatar adamaltman commented on August 26, 2024

I think this one was solved. Please reopen @dchisolm if I am wrong.

from developer-portal-starter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.